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.001189/0.001189, allocations: 103.8 kB / 15.98 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 192.4 kB / 16.91 MB, free: 6.168 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.216/1.216, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6567/0.6567, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 493.2 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2719, allocations: 76.17 MB / 0.556 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004888/0.2769, allocations: 4.909 MB / 0.5608 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1315/0.4084, allocations: 148.4 MB / 0.7058 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00086/0.4093, allocations: 15.94 kB / 0.7058 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.41, allocations: 150.8 kB / 0.7059 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.4118, allocations: 0.4915 MB / 0.7064 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.4137, allocations: 0.756 MB / 0.7071 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4153, allocations: 1.417 MB / 0.7085 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008458/0.4161, allocations: 0.5948 MB / 0.7091 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.4168, allocations: 0.4944 MB / 0.7096 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.4174, allocations: 0.5251 MB / 0.7101 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.4176, allocations: 116 kB / 0.7102 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.4184, allocations: 467.6 kB / 0.7106 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.4187, allocations: 303 kB / 0.7109 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.4192, allocations: 0.5752 MB / 0.7115 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.4208, allocations: 1.62 MB / 0.7131 GB, free: 3.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4208, allocations: 4 kB / 0.7131 GB, free: 3.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.966e-06/0.4208, allocations: 0 / 0.7131 GB, free: 3.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.862e-05/0.4209, allocations: 3.938 kB / 0.7131 GB, free: 3.281 MB / 0.545 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.00261/0.4235, allocations: 1.463 MB / 0.7145 GB, free: 1.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.4235, allocations: 12.03 kB / 0.7145 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.4237, allocations: 139.5 kB / 0.7147 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000885/0.4246, allocations: 183.4 kB / 0.7148 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.4256, allocations: 0.7544 MB / 0.7156 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.4257, allocations: 66 kB / 0.7156 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.4258, allocations: 84 kB / 0.7157 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.4273, allocations: 0.9379 MB / 0.7166 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.4273, allocations: 3.984 kB / 0.7166 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.4274, allocations: 36 kB / 0.7167 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.4274, allocations: 31.98 kB / 0.7167 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.4291, allocations: 1.116 MB / 0.7178 GB, free: 14.32 MB / 0.5606 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.003907/0.433, allocations: 2.767 MB / 0.7205 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4345, allocations: 0.9031 MB / 0.7214 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.435, allocations: 314.7 kB / 0.7217 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.435, allocations: 28.69 kB / 0.7217 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008611/0.4359, allocations: 0.5197 MB / 0.7222 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.124e-06/0.4359, allocations: 0 / 0.7222 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003018/0.4389, allocations: 1.251 MB / 0.7234 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.439, allocations: 192.9 kB / 0.7236 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.4397, allocations: 0.6411 MB / 0.7242 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.4398, allocations: 41.7 kB / 0.7243 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.44, allocations: 396.5 kB / 0.7247 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.4402, allocations: 276 kB / 0.7249 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.4405, allocations: 158.5 kB / 0.7251 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4406, allocations: 386.8 kB / 0.7254 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.4411, allocations: 253.9 kB / 0.7257 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.4417, allocations: 374.5 kB / 0.726 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.4427, allocations: 0.6008 MB / 0.7266 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4427, allocations: 0 / 0.7266 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001769/0.4444, allocations: 0.8254 MB / 0.7274 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4445, allocations: 7.938 kB / 0.7274 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4445, allocations: 4 kB / 0.7274 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.4451, allocations: 88.73 kB / 0.7275 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.4457, allocations: 155.8 kB / 0.7277 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.4476, allocations: 1.642 MB / 0.7293 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.4482, allocations: 95.22 kB / 0.7294 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.4483, allocations: 32.05 kB / 0.7294 GB, free: 1.953 MB / 0.5606 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.0003416/0.4486, allocations: 277.3 kB / 0.7297 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4488, allocations: 82.97 kB / 0.7297 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.4511, allocations: 1.14 MB / 0.7309 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4511, allocations: 12 kB / 0.7309 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.4512, allocations: 0 / 0.7309 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4512, allocations: 7.984 kB / 0.7309 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.4541, allocations: 2.025 MB / 0.7329 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4541, allocations: 4 kB / 0.7329 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.4547, allocations: 151.8 kB / 0.733 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.4552, allocations: 72.78 kB / 0.7331 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.4552, allocations: 31.97 kB / 0.7331 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.4569, allocations: 1.658 MB / 0.7347 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4569, allocations: 0 / 0.7347 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.4588, allocations: 1.047 MB / 0.7357 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.4591, allocations: 275.7 kB / 0.736 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4593, allocations: 24 kB / 0.736 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.4599, allocations: 70.17 kB / 0.7361 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.4601, allocations: 76.89 kB / 0.7362 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.4602, allocations: 43.91 kB / 0.7362 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004922/0.4607, allocations: 467 kB / 0.7367 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4607, allocations: 0 / 0.7367 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007022/0.4614, allocations: 327.2 kB / 0.737 GB, free: 9.938 MB / 0.5762 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.003251/0.4646, allocations: 2.105 MB / 0.739 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.4668, allocations: 1.046 MB / 0.7401 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4668, allocations: 4 kB / 0.7401 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.4677, allocations: 0.5353 MB / 0.7406 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4688, allocations: 309.5 kB / 0.7409 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1864/0.6552, allocations: 7 MB / 0.7477 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.6558, allocations: 1.038 MB / 0.7487 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009569/0.6568, allocations: 270.7 kB / 0.749 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.6573, allocations: 409.2 kB / 0.7494 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.6573, allocations: 1.688 kB / 0.7494 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/1.718, allocations: 21.79 MB / 0.7707 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.718, allocations: 308.5 kB / 0.7709 GB, free: 165 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/4.052, allocations: 0 / 0.7709 GB, free: 165 MB / 0.5762 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)