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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5258/0.5258, allocations: 91.97 MB / 108.5 MB, free: 13.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.1 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001106, allocations: 104.2 kB / 427.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 8 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 72.31 MB / 0.5689 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.34/4.523, allocations: 1.684 GB / 2.253 GB, free: 215.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/4.523, allocations: 98.34 kB / 2.253 GB, free: 215.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1431/4.666, allocations: 59.55 MB / 2.311 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/4.667, allocations: 0 / 2.311 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001033/4.667, allocations: 23.98 kB / 2.311 GB, free: 155.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002397/4.669, allocations: 1.179 MB / 2.312 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/4.669, allocations: 8.031 kB / 2.312 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/4.669, allocations: 130.9 kB / 2.313 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/4.67, allocations: 182.6 kB / 2.313 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/4.671, allocations: 0.6152 MB / 2.313 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/4.671, allocations: 58 kB / 2.313 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.126e-05/4.671, allocations: 80 kB / 2.313 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/4.673, allocations: 0.8677 MB / 2.314 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/4.673, allocations: 0 / 2.314 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/4.673, allocations: 32 kB / 2.314 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/4.673, allocations: 20 kB / 2.314 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/4.675, allocations: 1.073 MB / 2.315 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/4.679, allocations: 2.409 MB / 2.318 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/4.68, allocations: 0.8019 MB / 2.319 GB, free: 148 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/4.68, allocations: 32.58 kB / 2.319 GB, free: 148 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007177/4.681, allocations: 435.1 kB / 2.319 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/4.681, allocations: 0 / 2.319 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002868/4.684, allocations: 1.085 MB / 2.32 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/4.684, allocations: 251.9 kB / 2.32 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/4.685, allocations: 0.5815 MB / 2.321 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/4.685, allocations: 37.7 kB / 2.321 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/4.685, allocations: 376.3 kB / 2.321 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/4.685, allocations: 236.5 kB / 2.321 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/4.685, allocations: 12 kB / 2.321 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/4.685, allocations: 374.8 kB / 2.322 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/4.686, allocations: 221.2 kB / 2.322 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/4.686, allocations: 327.6 kB / 2.322 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/4.687, allocations: 263.1 kB / 2.323 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/4.687, allocations: 3.953 kB / 2.323 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00155/4.688, allocations: 0.7198 MB / 2.323 GB, free: 142.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/4.688, allocations: 8.062 kB / 2.323 GB, free: 142.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/4.688, allocations: 0 / 2.323 GB, free: 142.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/4.689, allocations: 84.77 kB / 2.323 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/4.689, allocations: 139.8 kB / 2.324 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/4.691, allocations: 1.524 MB / 2.325 GB, free: 141 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/4.692, allocations: 91.42 kB / 2.325 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/4.692, allocations: 27.94 kB / 2.325 GB, free: 140.9 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0004319/4.692, allocations: 251.1 kB / 2.325 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/4.692, allocations: 79.06 kB / 2.325 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/4.694, allocations: 1.025 MB / 2.326 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/4.694, allocations: 11.95 kB / 2.326 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/4.694, allocations: 4 kB / 2.326 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/4.695, allocations: 7.969 kB / 2.326 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/4.697, allocations: 1.903 MB / 2.328 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/4.697, allocations: 0 / 2.328 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/4.698, allocations: 151.8 kB / 2.328 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/4.698, allocations: 88.77 kB / 2.329 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/4.699, allocations: 15.98 kB / 2.329 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/4.7, allocations: 1.552 MB / 2.33 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/4.7, allocations: 3.984 kB / 2.33 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/4.702, allocations: 0.9258 MB / 2.331 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/4.702, allocations: 283.8 kB / 2.331 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/4.702, allocations: 16 kB / 2.331 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/4.703, allocations: 67.91 kB / 2.331 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/4.703, allocations: 64.91 kB / 2.331 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/4.703, allocations: 27.98 kB / 2.331 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005268/4.704, allocations: 483 kB / 2.332 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.704, allocations: 0 / 2.332 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00109/4.705, allocations: 355.2 kB / 2.332 GB, free: 133.4 MB / 0.6042 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003599/4.708, allocations: 2.435 MB / 2.335 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001327/4.71, allocations: 0.7282 MB / 2.335 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/4.71, allocations: 4 kB / 2.335 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/4.71, allocations: 496.3 kB / 2.336 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/4.711, allocations: 230.6 kB / 2.336 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/4.719, allocations: 5.004 MB / 2.341 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/4.72, allocations: 1.016 MB / 2.342 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007845/4.721, allocations: 254 kB / 2.342 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/4.721, allocations: 359.3 kB / 2.342 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/4.721, allocations: 0 / 2.342 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/4.781, allocations: 29.14 MB / 2.371 GB, free: 94.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/4.781, allocations: 292.5 kB / 2.371 GB, free: 93.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/7.882, allocations: 0 / 2.371 GB, free: 93.7 MB / 0.6042 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/linux/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)