Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_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.0009169/0.0009169, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.519/0.519, allocations: 90.91 MB / 99.34 MB, free: 2.137 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.475/1.475, 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.0009055/0.0009055, allocations: 87.95 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.599e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.369/4.533, allocations: 1.683 GB / 2.237 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/4.534, allocations: 87.89 kB / 2.237 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.51/5.044, allocations: 62.62 MB / 2.298 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.255e-06/5.044, allocations: 4 kB / 2.298 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001169/5.044, allocations: 27.94 kB / 2.298 GB, free: 201.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002633/5.046, allocations: 1.054 MB / 2.299 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/5.046, allocations: 8.031 kB / 2.299 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/5.048, allocations: 186.6 kB / 2.299 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/5.049, allocations: 0.6031 MB / 2.3 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/5.049, allocations: 28 kB / 2.3 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/5.049, allocations: 44 kB / 2.3 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001546/5.051, allocations: 0.9718 MB / 2.301 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/5.052, allocations: 0.7155 MB / 2.302 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/5.052, allocations: 0 / 2.302 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/5.052, allocations: 4 kB / 2.302 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/5.052, allocations: 20 kB / 2.302 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/5.056, allocations: 2.258 MB / 2.304 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/5.057, allocations: 0.7297 MB / 2.305 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/5.058, allocations: 238.5 kB / 2.305 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.792e-05/5.058, allocations: 32.27 kB / 2.305 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/5.058, allocations: 384.7 kB / 2.305 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/5.058, allocations: 3.938 kB / 2.305 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001564/5.06, allocations: 0.6279 MB / 2.306 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/5.06, allocations: 239.9 kB / 2.306 GB, free: 193.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/5.061, allocations: 0.4943 MB / 2.307 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/5.061, allocations: 25.7 kB / 2.307 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/5.061, allocations: 376.2 kB / 2.307 GB, free: 192.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/5.061, allocations: 224.6 kB / 2.307 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/5.061, allocations: 0 / 2.307 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001199/5.062, allocations: 370.8 kB / 2.307 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/5.062, allocations: 181.5 kB / 2.308 GB, free: 191.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/5.062, allocations: 295.5 kB / 2.308 GB, free: 191.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/5.063, allocations: 232.5 kB / 2.308 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/5.063, allocations: 0 / 2.308 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00137/5.064, allocations: 0.633 MB / 2.309 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/5.064, allocations: 4 kB / 2.309 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/5.064, allocations: 4 kB / 2.309 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/5.065, allocations: 84.84 kB / 2.309 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/5.065, allocations: 135.8 kB / 2.309 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/5.067, allocations: 1.465 MB / 2.31 GB, free: 188.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/5.068, allocations: 59.59 kB / 2.31 GB, free: 188.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/5.068, allocations: 35.91 kB / 2.311 GB, free: 188.5 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 (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.0002062/5.068, allocations: 118.5 kB / 2.311 GB, free: 188.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001412/5.069, allocations: 0.6356 MB / 2.311 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/5.069, allocations: 67.16 kB / 2.311 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/5.071, allocations: 0.8753 MB / 2.312 GB, free: 186.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/5.071, allocations: 12 kB / 2.312 GB, free: 186.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/5.071, allocations: 0 / 2.312 GB, free: 186.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/5.071, allocations: 3.984 kB / 2.312 GB, free: 186.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/5.075, allocations: 1.691 MB / 2.314 GB, free: 185.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/5.075, allocations: 0 / 2.314 GB, free: 185.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/5.075, allocations: 139.8 kB / 2.314 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/5.076, allocations: 80.78 kB / 2.314 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/5.076, allocations: 15.98 kB / 2.314 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/5.077, allocations: 1.492 MB / 2.316 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/5.077, allocations: 3.984 kB / 2.316 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/5.079, allocations: 0.8065 MB / 2.316 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/5.079, allocations: 271.9 kB / 2.317 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/5.079, allocations: 7.938 kB / 2.317 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/5.08, allocations: 55.89 kB / 2.317 GB, free: 182 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/5.08, allocations: 56.7 kB / 2.317 GB, free: 182 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.953e-05/5.08, allocations: 27.98 kB / 2.317 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005403/5.08, allocations: 402.8 kB / 2.317 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/5.081, allocations: 0 / 2.317 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001213/5.082, allocations: 327 kB / 2.317 GB, free: 181.2 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 (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.003516/5.085, allocations: 2.324 MB / 2.32 GB, free: 179 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001082/5.086, allocations: 0.6282 MB / 2.32 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.086, allocations: 3.938 kB / 2.32 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/5.087, allocations: 444.5 kB / 2.321 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/5.088, allocations: 215.1 kB / 2.321 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/5.092, allocations: 1.459 MB / 2.322 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/5.093, allocations: 1.019 MB / 2.323 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008444/5.093, allocations: 253.7 kB / 2.324 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/5.094, allocations: 339.3 kB / 2.324 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/5.094, allocations: 4 kB / 2.324 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/5.149, allocations: 22.79 MB / 2.346 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/5.149, allocations: 189.5 kB / 2.346 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/7.861, allocations: 4 kB / 2.346 GB, free: 151.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)