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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.142/1.142, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 179.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 96.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 275 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.337e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4602, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.463/4.923, allocations: 1.69 GB / 2.448 GB, free: 95.99 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/4.924, allocations: 86.72 kB / 2.448 GB, free: 95.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1345/5.058, allocations: 62.62 MB / 2.509 GB, free: 33.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.467e-06/5.058, allocations: 4 kB / 2.509 GB, free: 33.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.566e-05/5.059, allocations: 24 kB / 2.509 GB, free: 33.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002037/5.061, allocations: 1.055 MB / 2.51 GB, free: 31.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/5.061, allocations: 8.031 kB / 2.51 GB, free: 31.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/5.062, allocations: 186.6 kB / 2.51 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/5.063, allocations: 0.6076 MB / 2.511 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/5.063, allocations: 28 kB / 2.511 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/5.063, allocations: 47.94 kB / 2.511 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/5.064, allocations: 0.9718 MB / 2.512 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/5.065, allocations: 0.7154 MB / 2.512 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/5.065, allocations: 4 kB / 2.512 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/5.065, allocations: 0 / 2.512 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/5.065, allocations: 24 kB / 2.512 GB, free: 29.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/5.069, allocations: 2.267 MB / 2.515 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/5.069, allocations: 0.7297 MB / 2.515 GB, free: 26.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/5.07, allocations: 242.4 kB / 2.516 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.257e-05/5.07, allocations: 28.59 kB / 2.516 GB, free: 25.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/5.07, allocations: 380.8 kB / 2.516 GB, free: 25.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/5.07, allocations: 0 / 2.516 GB, free: 25.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001431/5.072, allocations: 0.6288 MB / 2.517 GB, free: 24.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/5.072, allocations: 247.9 kB / 2.517 GB, free: 24.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/5.073, allocations: 498.2 kB / 2.517 GB, free: 24.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/5.073, allocations: 29.7 kB / 2.517 GB, free: 24.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/5.073, allocations: 368.2 kB / 2.518 GB, free: 23.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/5.073, allocations: 224.6 kB / 2.518 GB, free: 23.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/5.073, allocations: 0 / 2.518 GB, free: 23.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/5.073, allocations: 374.8 kB / 2.518 GB, free: 23.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/5.073, allocations: 181.5 kB / 2.518 GB, free: 22.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/5.074, allocations: 291.5 kB / 2.519 GB, free: 22.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/5.074, allocations: 236.4 kB / 2.519 GB, free: 22.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.074, allocations: 96 / 2.519 GB, free: 22.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001198/5.075, allocations: 0.6406 MB / 2.52 GB, free: 21.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/5.075, allocations: 4 kB / 2.52 GB, free: 21.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/5.075, allocations: 4 kB / 2.52 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/5.076, allocations: 88.78 kB / 2.52 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/5.076, allocations: 135.8 kB / 2.52 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/5.078, allocations: 1.461 MB / 2.521 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/5.078, allocations: 63.59 kB / 2.521 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/5.078, allocations: 23.98 kB / 2.521 GB, free: 19.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001505/5.079, allocations: 112.9 kB / 2.521 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001196/5.08, allocations: 0.6395 MB / 2.522 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/5.08, allocations: 67.16 kB / 2.522 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/5.082, allocations: 0.8712 MB / 2.523 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/5.082, allocations: 12 kB / 2.523 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/5.082, allocations: 0 / 2.523 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/5.082, allocations: 3.984 kB / 2.523 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/5.084, allocations: 1.687 MB / 2.525 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/5.084, allocations: 11.94 kB / 2.525 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/5.084, allocations: 135.8 kB / 2.525 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/5.085, allocations: 84.77 kB / 2.525 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/5.085, allocations: 15.98 kB / 2.525 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/5.086, allocations: 1.496 MB / 2.526 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/5.086, allocations: 0 / 2.526 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/5.088, allocations: 0.8026 MB / 2.527 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/5.088, allocations: 279.8 kB / 2.527 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.284e-05/5.088, allocations: 0 / 2.527 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/5.089, allocations: 51.95 kB / 2.527 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/5.089, allocations: 60.69 kB / 2.527 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/5.089, allocations: 23.98 kB / 2.527 GB, free: 13.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000431/5.089, allocations: 398.9 kB / 2.528 GB, free: 12.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.089, allocations: 0 / 2.528 GB, free: 12.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001096/5.09, allocations: 323.1 kB / 2.528 GB, free: 12.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/5.094, allocations: 2.341 MB / 2.53 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001104/5.095, allocations: 0.6359 MB / 2.531 GB, free: 9.562 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/5.095, allocations: 0 / 2.531 GB, free: 9.562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/5.095, allocations: 436.7 kB / 2.532 GB, free: 9.129 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/5.096, allocations: 222.8 kB / 2.532 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/5.1, allocations: 1.451 MB / 2.533 GB, free: 7.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/5.1, allocations: 1.015 MB / 2.534 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007657/5.101, allocations: 253.6 kB / 2.534 GB, free: 6.129 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/5.102, allocations: 339.3 kB / 2.535 GB, free: 5.797 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/5.102, allocations: 0 / 2.535 GB, free: 5.797 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5501/5.652, allocations: 22.82 MB / 2.557 GB, free: 230.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003034/5.652, allocations: 201.3 kB / 2.557 GB, free: 230.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/8.518, allocations: 1.875 kB / 2.557 GB, free: 230.1 MB / 0.698 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/linux/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)