Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008789/0.0008789, allocations: 182.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6449/0.6449, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002578/0.0002578, allocations: 12.97 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 77.53 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004696/0.1271, allocations: 4.372 MB / 0.5643 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3727/0.4999, allocations: 146.7 MB / 0.7076 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.5005, allocations: 15.94 kB / 0.7076 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.501, allocations: 146.8 kB / 0.7077 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.5024, allocations: 473.4 kB / 0.7082 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.504, allocations: 0.7241 MB / 0.7089 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.5052, allocations: 1.288 MB / 0.7101 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000803/0.506, allocations: 0.5639 MB / 0.7107 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.5066, allocations: 346.4 kB / 0.711 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.5071, allocations: 393.8 kB / 0.7114 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.5072, allocations: 24 kB / 0.7114 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.5079, allocations: 363.6 kB / 0.7118 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.5081, allocations: 191.1 kB / 0.7119 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.5086, allocations: 470.9 kB / 0.7124 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.5101, allocations: 1.503 MB / 0.7139 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5101, allocations: 0 / 0.7139 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5101, allocations: 0 / 0.7139 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.355e-05/0.5102, allocations: 0 / 0.7139 GB, free: 8.996 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002192/0.5124, allocations: 1.217 MB / 0.715 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5124, allocations: 8.031 kB / 0.7151 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.5126, allocations: 139.3 kB / 0.7152 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.5135, allocations: 195.4 kB / 0.7154 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5145, allocations: 0.7383 MB / 0.7161 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.5146, allocations: 66 kB / 0.7162 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.5147, allocations: 80 kB / 0.7162 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5163, allocations: 0.9262 MB / 0.7171 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5163, allocations: 0 / 0.7171 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.5164, allocations: 39.98 kB / 0.7172 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.5164, allocations: 23.94 kB / 0.7172 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.5182, allocations: 1.116 MB / 0.7183 GB, free: 4.324 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.5221, allocations: 2.764 MB / 0.721 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.5235, allocations: 0.9065 MB / 0.7219 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.5241, allocations: 310.6 kB / 0.7222 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.5241, allocations: 24.62 kB / 0.7222 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007862/0.5249, allocations: 0.4953 MB / 0.7227 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 1.914e-06/0.5249, allocations: 0 / 0.7227 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=79): time 0.002814/0.5278, allocations: 1.205 MB / 0.7239 GB, free: 14.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.5279, allocations: 192.6 kB / 0.724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.5286, allocations: 0.6176 MB / 0.7246 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.5286, allocations: 41.7 kB / 0.7247 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.5289, allocations: 400.2 kB / 0.7251 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.5291, allocations: 256.4 kB / 0.7253 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.5292, allocations: 61.69 kB / 0.7254 GB, free: 12.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5294, allocations: 386.7 kB / 0.7257 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.5299, allocations: 253.9 kB / 0.726 GB, free: 12.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.5305, allocations: 358.5 kB / 0.7263 GB, free: 11.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5315, allocations: 0.5955 MB / 0.7269 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5315, allocations: 0 / 0.7269 GB, free: 11.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001701/0.5332, allocations: 0.802 MB / 0.7277 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5332, allocations: 9.859 kB / 0.7277 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5332, allocations: 4.094 kB / 0.7277 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.5338, allocations: 84.66 kB / 0.7278 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.5344, allocations: 151.8 kB / 0.7279 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.5362, allocations: 1.533 MB / 0.7294 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.5369, allocations: 103.3 kB / 0.7295 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.5369, allocations: 28.55 kB / 0.7295 GB, free: 8.328 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003338/0.5373, allocations: 270.3 kB / 0.7298 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.5374, allocations: 82.91 kB / 0.7299 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.5396, allocations: 1.079 MB / 0.7309 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.5397, allocations: 12 kB / 0.7309 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.5397, allocations: 0 / 0.7309 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5397, allocations: 3.984 kB / 0.731 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.5426, allocations: 1.978 MB / 0.7329 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5426, allocations: 0 / 0.7329 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.5431, allocations: 139.8 kB / 0.733 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.5436, allocations: 84.78 kB / 0.7331 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.5437, allocations: 31.91 kB / 0.7331 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.5453, allocations: 1.563 MB / 0.7347 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5453, allocations: 3.984 kB / 0.7347 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5472, allocations: 0.9999 MB / 0.7356 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.5475, allocations: 279.7 kB / 0.7359 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5476, allocations: 27.98 kB / 0.7359 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.5483, allocations: 79.88 kB / 0.736 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5484, allocations: 72.89 kB / 0.7361 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.5485, allocations: 27.98 kB / 0.7361 GB, free: 1.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004985/0.549, allocations: 467 kB / 0.7365 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.549, allocations: 0 / 0.7365 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007256/0.5497, allocations: 319.2 kB / 0.7369 GB, free: 0.5898 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/0.5528, allocations: 2.046 MB / 0.7388 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.5543, allocations: 0.8041 MB / 0.7396 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5543, allocations: 0 / 0.7396 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.5551, allocations: 0.5119 MB / 0.7401 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5563, allocations: 281.5 kB / 0.7404 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5667, allocations: 6.833 MB / 0.7471 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.5673, allocations: 1.02 MB / 0.7481 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007456/0.568, allocations: 258.7 kB / 0.7483 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.5685, allocations: 367.3 kB / 0.7487 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of SimCode: time 3.737e-06/0.5685, allocations: 0 / 0.7487 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/0.7196, allocations: 20.24 MB / 0.7684 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/0.7198, allocations: 294.8 kB / 0.7687 GB, free: 272 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.959, allocations: 0 / 0.7687 GB, free: 272 kB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)