Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009633/0.0009635, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006123/0.006123, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 273.2 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003934, allocations: 14 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004537/0.1523, allocations: 3.999 MB / 0.6891 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4275/0.5798, allocations: 146.7 MB / 0.8324 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.5805, allocations: 18.88 kB / 0.8324 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.5809, allocations: 137.3 kB / 0.8325 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.5821, allocations: 443.4 kB / 0.8329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.5838, allocations: 0.7341 MB / 0.8337 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.5849, allocations: 1.247 MB / 0.8349 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007959/0.5857, allocations: 0.5961 MB / 0.8355 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.5862, allocations: 357.4 kB / 0.8358 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.5867, allocations: 401.6 kB / 0.8362 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.5867, allocations: 25 kB / 0.8362 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.5874, allocations: 370.3 kB / 0.8366 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.5876, allocations: 194.2 kB / 0.8367 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.588, allocations: 473.6 kB / 0.8372 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.5892, allocations: 1.495 MB / 0.8387 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5892, allocations: 0 / 0.8387 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5892, allocations: 0 / 0.8387 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5892, allocations: 0 / 0.8387 GB, free: 8.754 MB / 0.5606 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.002131/0.5914, allocations: 1.241 MB / 0.8399 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5914, allocations: 8.688 kB / 0.8399 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.5916, allocations: 142.8 kB / 0.84 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.5924, allocations: 200.9 kB / 0.8402 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.5934, allocations: 0.7536 MB / 0.8409 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.5934, allocations: 65.72 kB / 0.841 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5935, allocations: 82.81 kB / 0.8411 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.595, allocations: 0.9397 MB / 0.842 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.595, allocations: 2.938 kB / 0.842 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/0.5951, allocations: 35.91 kB / 0.842 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5951, allocations: 20.06 kB / 0.8421 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.5968, allocations: 1.136 MB / 0.8432 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.6004, allocations: 2.58 MB / 0.8457 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.6019, allocations: 0.9144 MB / 0.8466 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.6024, allocations: 320.9 kB / 0.8469 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-05/0.6025, allocations: 33.62 kB / 0.8469 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008235/0.6033, allocations: 0.5212 MB / 0.8474 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.324e-06/0.6034, allocations: 0 / 0.8474 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.002994/0.6063, allocations: 1.266 MB / 0.8487 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.6065, allocations: 190 kB / 0.8488 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.6072, allocations: 0.6438 MB / 0.8495 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.6072, allocations: 47 kB / 0.8495 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.6075, allocations: 402.2 kB / 0.8499 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6077, allocations: 268.8 kB / 0.8502 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.6078, allocations: 63.59 kB / 0.8502 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.608, allocations: 390.5 kB / 0.8506 GB, free: 404 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.6085, allocations: 261.5 kB / 0.8508 GB, free: 276 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.609, allocations: 372.2 kB / 0.8512 GB, free: 40 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.6101, allocations: 0.6071 MB / 0.8518 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6101, allocations: 4 kB / 0.8518 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001806/0.6119, allocations: 0.8328 MB / 0.8526 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.612, allocations: 6 kB / 0.8526 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.612, allocations: 3.938 kB / 0.8526 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.6126, allocations: 87.45 kB / 0.8527 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.6132, allocations: 157.1 kB / 0.8528 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.6152, allocations: 1.519 MB / 0.8543 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007211/0.6159, allocations: 108.7 kB / 0.8544 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.616, allocations: 27.48 kB / 0.8545 GB, free: 13.64 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: 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.0004159/0.6164, allocations: 270.3 kB / 0.8547 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6165, allocations: 88.31 kB / 0.8548 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.6189, allocations: 1.152 MB / 0.8559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.6189, allocations: 11.03 kB / 0.8559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6189, allocations: 0 / 0.8559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.6189, allocations: 7.922 kB / 0.8559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.6221, allocations: 2.041 MB / 0.8579 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6221, allocations: 0 / 0.8579 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.6227, allocations: 158.3 kB / 0.8581 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.6232, allocations: 91.48 kB / 0.8582 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.6232, allocations: 23.95 kB / 0.8582 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6249, allocations: 1.546 MB / 0.8597 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6249, allocations: 4.062 kB / 0.8597 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.6268, allocations: 1.052 MB / 0.8607 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.6272, allocations: 295.6 kB / 0.861 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6273, allocations: 25.69 kB / 0.861 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.628, allocations: 85.73 kB / 0.8611 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6282, allocations: 72.11 kB / 0.8612 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.6283, allocations: 40.91 kB / 0.8612 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005124/0.6288, allocations: 469 kB / 0.8617 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6288, allocations: 4 kB / 0.8617 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007876/0.6296, allocations: 317.1 kB / 0.862 GB, free: 8.465 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.003287/0.6329, allocations: 2.115 MB / 0.8641 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.6345, allocations: 0.8351 MB / 0.8649 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6345, allocations: 0 / 0.8649 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.6354, allocations: 0.5376 MB / 0.8654 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.6367, allocations: 277.4 kB / 0.8657 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.6492, allocations: 7.201 MB / 0.8727 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.6498, allocations: 1.039 MB / 0.8737 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000904/0.6507, allocations: 266.9 kB / 0.874 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.6513, allocations: 403.3 kB / 0.8743 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.6513, allocations: 0 / 0.8743 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.6908, allocations: 20.54 MB / 0.8944 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.6911, allocations: 328.2 kB / 0.8947 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.032, allocations: 0 / 0.8947 GB, free: 8.797 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)