Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_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.001155/0.001155, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5525/0.5525, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.463/1.463, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 99.17 kB / 421.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.278e-05, allocations: 0 / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.599/5.013, allocations: 1.686 GB / 2.246 GB, free: 94.98 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/5.013, allocations: 80.58 kB / 2.246 GB, free: 94.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1985/5.211, allocations: 94.38 MB / 2.338 GB, free: 236 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/5.212, allocations: 0 / 2.338 GB, free: 236 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.874e-05/5.212, allocations: 35.94 kB / 2.338 GB, free: 200 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.4536/5.665, allocations: 1.389 MB / 2.34 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/5.665, allocations: 14.2 kB / 2.34 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003717/5.666, allocations: 208.6 kB / 2.34 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/5.667, allocations: 244 kB / 2.34 GB, free: 190.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/5.669, allocations: 0.7775 MB / 2.341 GB, free: 189.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/5.669, allocations: 105.4 kB / 2.341 GB, free: 189.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/5.669, allocations: 138.6 kB / 2.341 GB, free: 189.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/5.672, allocations: 1.371 MB / 2.342 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/5.672, allocations: 3.516 kB / 2.342 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/5.672, allocations: 58.5 kB / 2.342 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/5.672, allocations: 35.12 kB / 2.342 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/5.676, allocations: 1.458 MB / 2.344 GB, free: 189.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007095/5.683, allocations: 3.826 MB / 2.348 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/5.684, allocations: 0.9167 MB / 2.348 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/5.685, allocations: 382 kB / 2.349 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/5.685, allocations: 50.53 kB / 2.349 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008443/5.685, allocations: 0.5503 MB / 2.349 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 4.128e-06/5.686, allocations: 7.406 kB / 2.349 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104): time 0.002088/5.688, allocations: 0.9647 MB / 2.35 GB, free: 188.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/5.688, allocations: 249.3 kB / 2.351 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009165/5.689, allocations: 0.7255 MB / 2.351 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/5.689, allocations: 44.45 kB / 2.351 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/5.689, allocations: 0.5576 MB / 2.352 GB, free: 187.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/5.689, allocations: 344.2 kB / 2.352 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/5.689, allocations: 17 kB / 2.352 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/5.69, allocations: 340.1 kB / 2.353 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/5.69, allocations: 319.5 kB / 2.353 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/5.691, allocations: 448.1 kB / 2.353 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/5.691, allocations: 384.3 kB / 2.354 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/5.691, allocations: 0 / 2.354 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001918/5.693, allocations: 1.026 MB / 2.355 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/5.693, allocations: 3.906 kB / 2.355 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/5.693, allocations: 0 / 2.355 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/5.694, allocations: 85.08 kB / 2.355 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/5.695, allocations: 214.5 kB / 2.355 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/5.696, allocations: 1.533 MB / 2.356 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/5.697, allocations: 109.2 kB / 2.357 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/5.697, allocations: 48 kB / 2.357 GB, free: 185.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0002148/5.698, allocations: 158.5 kB / 2.357 GB, free: 185.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/5.698, allocations: 105.5 kB / 2.357 GB, free: 185.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/5.701, allocations: 1.365 MB / 2.358 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/5.701, allocations: 14.62 kB / 2.358 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/5.701, allocations: 3.953 kB / 2.358 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/5.701, allocations: 11.16 kB / 2.358 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/5.705, allocations: 2.571 MB / 2.361 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/5.705, allocations: 0 / 2.361 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/5.705, allocations: 191 kB / 2.361 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/5.706, allocations: 85.84 kB / 2.361 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/5.706, allocations: 31.12 kB / 2.361 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/5.708, allocations: 1.555 MB / 2.363 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/5.708, allocations: 7.453 kB / 2.363 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/5.71, allocations: 1.126 MB / 2.364 GB, free: 183.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008562/5.711, allocations: 361.5 kB / 2.364 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/5.711, allocations: 20.25 kB / 2.364 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/5.712, allocations: 81.66 kB / 2.364 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/5.712, allocations: 78.39 kB / 2.364 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/5.712, allocations: 34.48 kB / 2.364 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001104/5.713, allocations: 0.6145 MB / 2.365 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/5.713, allocations: 0 / 2.365 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001816/5.715, allocations: 473.5 kB / 2.365 GB, free: 183.3 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 (115): * Single equations (assignments): 112 * 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.004612/5.72, allocations: 2.606 MB / 2.368 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001794/5.721, allocations: 0.957 MB / 2.369 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/5.722, allocations: 3.75 kB / 2.369 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/5.722, allocations: 0.5861 MB / 2.369 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/5.724, allocations: 256.7 kB / 2.37 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/5.73, allocations: 2.118 MB / 2.372 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/5.731, allocations: 1.193 MB / 2.373 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001311/5.732, allocations: 307.3 kB / 2.373 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/5.733, allocations: 0.5427 MB / 2.374 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.104e-06/5.733, allocations: 0 / 2.374 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/5.81, allocations: 37.3 MB / 2.41 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/5.811, allocations: 233.2 kB / 2.41 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/9.171, allocations: 0 / 2.41 GB, free: 163.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)