Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001067/0.001067, allocations: 177.4 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5008/0.5008, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 91.19 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.536e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.545/4.707, allocations: 1.685 GB / 2.238 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/4.707, allocations: 94.89 kB / 2.238 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1272/4.834, allocations: 58.88 MB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/4.834, allocations: 0 / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.431e-05/4.834, allocations: 19.5 kB / 2.296 GB, free: 161.9 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001648/4.836, allocations: 1.086 MB / 2.297 GB, free: 161 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/4.836, allocations: 15.19 kB / 2.297 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/4.837, allocations: 187 kB / 2.297 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007692/4.838, allocations: 0.6106 MB / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/4.838, allocations: 33.78 kB / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/4.838, allocations: 48.89 kB / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001183/4.839, allocations: 1.01 MB / 2.299 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/4.84, allocations: 0.7432 MB / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/4.84, allocations: 0 / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/4.84, allocations: 0 / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/4.84, allocations: 27.06 kB / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/4.843, allocations: 2.369 MB / 2.302 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/4.844, allocations: 0.6667 MB / 2.302 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/4.844, allocations: 247.1 kB / 2.303 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.388e-05/4.845, allocations: 40.66 kB / 2.303 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/4.845, allocations: 399.8 kB / 2.303 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 2.084e-06/4.845, allocations: 0 / 2.303 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001385/4.846, allocations: 0.6681 MB / 2.304 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/4.846, allocations: 244.1 kB / 2.304 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/4.847, allocations: 0.4984 MB / 2.304 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/4.847, allocations: 25.7 kB / 2.304 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/4.847, allocations: 388.2 kB / 2.305 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/4.847, allocations: 240.3 kB / 2.305 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/4.847, allocations: 0 / 2.305 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/4.848, allocations: 374.8 kB / 2.305 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/4.848, allocations: 201.5 kB / 2.306 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/4.848, allocations: 299.5 kB / 2.306 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/4.848, allocations: 252.4 kB / 2.306 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/4.848, allocations: 4 kB / 2.306 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001227/4.85, allocations: 0.6681 MB / 2.307 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/4.85, allocations: 8 kB / 2.307 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/4.85, allocations: 4.062 kB / 2.307 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/4.85, allocations: 80.77 kB / 2.307 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/4.851, allocations: 155.7 kB / 2.307 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/4.852, allocations: 1.45 MB / 2.308 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/4.853, allocations: 67.45 kB / 2.308 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/4.853, allocations: 27.98 kB / 2.308 GB, free: 150.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0001736/4.853, allocations: 124.8 kB / 2.309 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001273/4.854, allocations: 0.6681 MB / 2.309 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/4.855, allocations: 75.06 kB / 2.309 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/4.856, allocations: 0.9344 MB / 2.31 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/4.856, allocations: 8 kB / 2.31 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/4.856, allocations: 0 / 2.31 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/4.856, allocations: 7.969 kB / 2.31 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/4.859, allocations: 1.718 MB / 2.312 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/4.859, allocations: 0 / 2.312 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/4.859, allocations: 147.8 kB / 2.312 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/4.86, allocations: 80.78 kB / 2.312 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/4.86, allocations: 19.98 kB / 2.312 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/4.861, allocations: 1.48 MB / 2.314 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.861, allocations: 4.031 kB / 2.314 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/4.863, allocations: 0.8376 MB / 2.314 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/4.863, allocations: 283.8 kB / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/4.863, allocations: 4 kB / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/4.864, allocations: 51.89 kB / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.864, allocations: 64.69 kB / 2.315 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/4.864, allocations: 27.98 kB / 2.315 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004273/4.864, allocations: 414.9 kB / 2.315 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.864, allocations: 4 kB / 2.315 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009663/4.865, allocations: 327.1 kB / 2.316 GB, free: 142.9 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.002828/4.868, allocations: 2.377 MB / 2.318 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001002/4.869, allocations: 0.6672 MB / 2.319 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/4.869, allocations: 4 kB / 2.319 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/4.87, allocations: 448.6 kB / 2.319 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/4.871, allocations: 217.2 kB / 2.319 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/4.874, allocations: 1.494 MB / 2.321 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/4.874, allocations: 1.031 MB / 2.322 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007297/4.875, allocations: 250 kB / 2.322 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/4.876, allocations: 359.3 kB / 2.322 GB, free: 136 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/4.876, allocations: 0 / 2.322 GB, free: 136 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/4.921, allocations: 23.46 MB / 2.345 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/4.921, allocations: 200.1 kB / 2.345 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/7.629, allocations: 4.031 kB / 2.345 GB, free: 112.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)