Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.001536/0.001536, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001247/0.001247, allocations: 192.9 kB / 16.25 MB, free: 6.617 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 282.3 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 96.42 kB / 0.5948 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1323, allocations: 86.98 MB / 0.6797 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005395/0.1377, allocations: 4.314 MB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3965/0.5342, allocations: 148.3 MB / 0.8288 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.5349, allocations: 19.78 kB / 0.8288 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.5355, allocations: 133.8 kB / 0.8289 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.5368, allocations: 444.7 kB / 0.8294 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.5384, allocations: 0.7469 MB / 0.8301 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.5395, allocations: 1.296 MB / 0.8313 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007469/0.5402, allocations: 0.633 MB / 0.832 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.5408, allocations: 473 kB / 0.8324 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.5412, allocations: 0.4924 MB / 0.8329 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.5414, allocations: 117 kB / 0.833 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007481/0.5421, allocations: 457.9 kB / 0.8334 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.5423, allocations: 301 kB / 0.8337 GB, free: 0 / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.5428, allocations: 0.5448 MB / 0.8343 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.5442, allocations: 1.581 MB / 0.8358 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5442, allocations: 0 / 0.8358 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5442, allocations: 0 / 0.8358 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.5442, allocations: 0 / 0.8358 GB, free: 15.61 MB / 0.5762 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.002378/0.5466, allocations: 1.408 MB / 0.8372 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5467, allocations: 9.469 kB / 0.8372 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5468, allocations: 131.5 kB / 0.8373 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.5477, allocations: 185.3 kB / 0.8375 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008743/0.5486, allocations: 0.7462 MB / 0.8382 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.5487, allocations: 63.09 kB / 0.8383 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.5488, allocations: 78.75 kB / 0.8384 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5502, allocations: 0.9177 MB / 0.8393 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5502, allocations: 5.375 kB / 0.8393 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.5503, allocations: 38.12 kB / 0.8393 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.5503, allocations: 20.62 kB / 0.8393 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.5519, allocations: 1.108 MB / 0.8404 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.5554, allocations: 2.541 MB / 0.8429 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.5568, allocations: 0.884 MB / 0.8437 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.5573, allocations: 306.2 kB / 0.844 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.5574, allocations: 36.09 kB / 0.8441 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/0.5583, allocations: 496.5 kB / 0.8445 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.124e-06/0.5583, allocations: 0 / 0.8445 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002952/0.5612, allocations: 1.191 MB / 0.8457 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.5613, allocations: 193 kB / 0.8459 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.562, allocations: 0.6217 MB / 0.8465 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.5621, allocations: 42.33 kB / 0.8465 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.5624, allocations: 396.3 kB / 0.8469 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.5626, allocations: 256.5 kB / 0.8472 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.5628, allocations: 142.9 kB / 0.8473 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5629, allocations: 388.6 kB / 0.8477 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.5634, allocations: 252.7 kB / 0.8479 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.5639, allocations: 349.3 kB / 0.8482 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000979/0.5649, allocations: 0.588 MB / 0.8488 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5649, allocations: 0 / 0.8488 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001794/0.5667, allocations: 0.7996 MB / 0.8496 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5668, allocations: 5 kB / 0.8496 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.5668, allocations: 0 / 0.8496 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.5674, allocations: 82.22 kB / 0.8497 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.568, allocations: 150.7 kB / 0.8498 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.57, allocations: 1.657 MB / 0.8514 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.5707, allocations: 85.92 kB / 0.8515 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.5708, allocations: 29.17 kB / 0.8515 GB, free: 6.406 MB / 0.5762 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.0004349/0.5712, allocations: 270.6 kB / 0.8518 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.5714, allocations: 89.38 kB / 0.8519 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.5736, allocations: 1.063 MB / 0.8529 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.5736, allocations: 14.12 kB / 0.8529 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5736, allocations: 3.938 kB / 0.8529 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5736, allocations: 3.984 kB / 0.853 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.5766, allocations: 1.957 MB / 0.8549 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5766, allocations: 0 / 0.8549 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.5772, allocations: 140.5 kB / 0.855 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.5776, allocations: 70.52 kB / 0.8551 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.5777, allocations: 27.59 kB / 0.8551 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.5794, allocations: 1.673 MB / 0.8567 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5795, allocations: 3.938 kB / 0.8567 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.5814, allocations: 0.9887 MB / 0.8577 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.5817, allocations: 280 kB / 0.858 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5819, allocations: 16.69 kB / 0.858 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/0.5825, allocations: 66.52 kB / 0.858 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.5827, allocations: 75.69 kB / 0.8581 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.5828, allocations: 30.92 kB / 0.8581 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005161/0.5833, allocations: 460.8 kB / 0.8586 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5833, allocations: 0 / 0.8586 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008323/0.5841, allocations: 302.5 kB / 0.8589 GB, free: 1.281 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: 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.00337/0.5875, allocations: 2.043 MB / 0.8609 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.5897, allocations: 0.9995 MB / 0.8618 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5898, allocations: 0 / 0.8618 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.5906, allocations: 0.5149 MB / 0.8623 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5919, allocations: 303.2 kB / 0.8626 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.6041, allocations: 6.887 MB / 0.8694 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.6047, allocations: 1.019 MB / 0.8704 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008439/0.6055, allocations: 255.4 kB / 0.8706 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.606, allocations: 369.4 kB / 0.8709 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.606, allocations: 0 / 0.8709 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.6443, allocations: 20.74 MB / 0.8912 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.6446, allocations: 311.2 kB / 0.8915 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.025, allocations: 0 / 0.8915 GB, free: 6.09 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)