Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.001181/0.001181, allocations: 100.1 kB / 15.88 MB, free: 12 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.001151/0.001151, allocations: 208.3 kB / 16.79 MB, free: 6.84 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.179/1.179, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5991/0.5991, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 69.83 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005627/0.119, allocations: 4.899 MB / 0.5606 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3256/0.4446, allocations: 148.3 MB / 0.7055 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.4453, allocations: 15.94 kB / 0.7055 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.4459, allocations: 152.8 kB / 0.7056 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.4474, allocations: 480.9 kB / 0.7061 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.4489, allocations: 0.7418 MB / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.4499, allocations: 1.331 MB / 0.7081 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000693/0.4507, allocations: 0.5632 MB / 0.7087 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.4511, allocations: 446.2 kB / 0.7091 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.4515, allocations: 497.7 kB / 0.7096 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.4516, allocations: 60 kB / 0.7096 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.4523, allocations: 396.8 kB / 0.71 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.4525, allocations: 247 kB / 0.7102 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.4529, allocations: 0.5166 MB / 0.7107 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4541, allocations: 1.568 MB / 0.7123 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4541, allocations: 0 / 0.7123 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.22e-07/0.4541, allocations: 0 / 0.7123 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4542, allocations: 4 kB / 0.7123 GB, free: 6.574 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002282/0.4564, allocations: 1.468 MB / 0.7137 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4565, allocations: 8.031 kB / 0.7137 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.4566, allocations: 135.5 kB / 0.7139 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.4575, allocations: 191.4 kB / 0.714 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.4583, allocations: 0.7587 MB / 0.7148 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.4584, allocations: 58 kB / 0.7148 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4585, allocations: 84 kB / 0.7149 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4599, allocations: 0.9418 MB / 0.7158 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4599, allocations: 0 / 0.7158 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.46, allocations: 40 kB / 0.7159 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.46, allocations: 20 kB / 0.7159 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.4617, allocations: 1.128 MB / 0.717 GB, free: 1.613 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.003426/0.4651, allocations: 2.759 MB / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4666, allocations: 0.9032 MB / 0.7206 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.4671, allocations: 310.7 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.227e-05/0.4672, allocations: 40.61 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008276/0.468, allocations: 0.5195 MB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 1.793e-06/0.468, allocations: 0 / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.002939/0.4709, allocations: 1.251 MB / 0.7226 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.471, allocations: 188.9 kB / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006614/0.4717, allocations: 0.6372 MB / 0.7234 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.4718, allocations: 45.69 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.472, allocations: 396.5 kB / 0.7239 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.4722, allocations: 272.1 kB / 0.7241 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.4724, allocations: 154.5 kB / 0.7243 GB, free: 9.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4726, allocations: 398.7 kB / 0.7246 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.4731, allocations: 253.9 kB / 0.7249 GB, free: 9.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.4737, allocations: 370.5 kB / 0.7252 GB, free: 8.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4747, allocations: 0.6008 MB / 0.7258 GB, free: 8.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4747, allocations: 0.875 kB / 0.7258 GB, free: 8.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001734/0.4765, allocations: 0.8292 MB / 0.7266 GB, free: 7.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4765, allocations: 8 kB / 0.7266 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4765, allocations: 0 / 0.7266 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.4771, allocations: 88.8 kB / 0.7267 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.4777, allocations: 155.7 kB / 0.7269 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4796, allocations: 1.527 MB / 0.7284 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.4802, allocations: 99.3 kB / 0.7285 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.4803, allocations: 31.97 kB / 0.7285 GB, free: 5.375 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003104/0.4806, allocations: 261.6 kB / 0.7287 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4807, allocations: 90.91 kB / 0.7288 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.4831, allocations: 1.137 MB / 0.7299 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4831, allocations: 12 kB / 0.73 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4831, allocations: 0 / 0.73 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4831, allocations: 3.984 kB / 0.73 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.4861, allocations: 2.029 MB / 0.7319 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4861, allocations: 0 / 0.7319 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.4867, allocations: 159.7 kB / 0.7321 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.4871, allocations: 83.41 kB / 0.7322 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.4872, allocations: 27.97 kB / 0.7322 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.4888, allocations: 1.544 MB / 0.7337 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4889, allocations: 0 / 0.7337 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.4907, allocations: 1.047 MB / 0.7347 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.4911, allocations: 279.8 kB / 0.735 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4912, allocations: 23.94 kB / 0.735 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.4919, allocations: 75.91 kB / 0.7351 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.492, allocations: 72.89 kB / 0.7352 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.4921, allocations: 39.97 kB / 0.7352 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004853/0.4926, allocations: 467 kB / 0.7356 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4926, allocations: 0 / 0.7356 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006659/0.4933, allocations: 323.2 kB / 0.7359 GB, free: 13.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003217/0.4965, allocations: 2.103 MB / 0.738 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.4979, allocations: 0.8358 MB / 0.7388 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.498, allocations: 0 / 0.7388 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.4988, allocations: 0.5353 MB / 0.7393 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4999, allocations: 279.8 kB / 0.7396 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.5101, allocations: 7.017 MB / 0.7465 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.5107, allocations: 1.036 MB / 0.7475 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007283/0.5114, allocations: 271 kB / 0.7477 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.512, allocations: 407.3 kB / 0.7481 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.512, allocations: 4 kB / 0.7481 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7038/1.216, allocations: 21.16 MB / 0.7688 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/1.216, allocations: 313.3 kB / 0.7691 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.407, allocations: 2.75 kB / 0.7691 GB, free: 11.84 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)