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.001143/0.001143, allocations: 180.1 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.4721/0.4721, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.387/1.387, allocations: 223.1 MB / 354.3 MB, free: 12.21 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.001071/0.00107, allocations: 104.2 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 11.98 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 72.31 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.103/4.244, allocations: 1.686 GB / 2.255 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/4.244, allocations: 87.95 kB / 2.255 GB, free: 214.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2012/4.445, allocations: 94.69 MB / 2.347 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.767e-06/4.446, allocations: 0 / 2.347 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001731/4.446, allocations: 32 kB / 2.347 GB, free: 119.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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004468/4.45, allocations: 1.527 MB / 2.349 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/4.45, allocations: 12.03 kB / 2.349 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005567/4.451, allocations: 211.1 kB / 2.349 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/4.452, allocations: 241.8 kB / 2.349 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/4.454, allocations: 0.7831 MB / 2.35 GB, free: 117 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/4.454, allocations: 110.9 kB / 2.35 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/4.454, allocations: 136 kB / 2.35 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/4.456, allocations: 1.412 MB / 2.351 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/4.456, allocations: 0 / 2.351 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/4.456, allocations: 63.94 kB / 2.352 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/4.456, allocations: 36 kB / 2.352 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/4.459, allocations: 1.517 MB / 2.353 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/4.464, allocations: 3.827 MB / 2.357 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/4.466, allocations: 0.9699 MB / 2.358 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/4.466, allocations: 45.08 kB / 2.358 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008739/4.467, allocations: 0.5826 MB / 2.358 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 2.435e-06/4.467, allocations: 0 / 2.358 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104): time 0.003483/4.47, allocations: 1.486 MB / 2.36 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/4.471, allocations: 253.3 kB / 2.36 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/4.472, allocations: 0.7309 MB / 2.361 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/4.472, allocations: 41.7 kB / 2.361 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/4.472, allocations: 0.565 MB / 2.361 GB, free: 105 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/4.472, allocations: 343 kB / 2.362 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/4.472, allocations: 20 kB / 2.362 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001049/4.473, allocations: 349.8 kB / 2.362 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/4.473, allocations: 345.8 kB / 2.362 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/4.474, allocations: 467.4 kB / 2.363 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/4.474, allocations: 411.2 kB / 2.363 GB, free: 103 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/4.474, allocations: 0 / 2.363 GB, free: 103 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002032/4.476, allocations: 1.063 MB / 2.364 GB, free: 102 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/4.476, allocations: 4 kB / 2.364 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/4.477, allocations: 8.062 kB / 2.364 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/4.477, allocations: 80.77 kB / 2.364 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/4.478, allocations: 219.6 kB / 2.365 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/4.48, allocations: 1.547 MB / 2.366 GB, free: 99.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/4.481, allocations: 119 kB / 2.366 GB, free: 99.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/4.481, allocations: 35.97 kB / 2.366 GB, free: 99.82 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 (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.0006817/4.482, allocations: 310.6 kB / 2.366 GB, free: 99.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/4.482, allocations: 106.7 kB / 2.367 GB, free: 99.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/4.485, allocations: 1.419 MB / 2.368 GB, free: 97.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/4.485, allocations: 12 kB / 2.368 GB, free: 97.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/4.485, allocations: 0 / 2.368 GB, free: 97.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/4.485, allocations: 11.97 kB / 2.368 GB, free: 97.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/4.488, allocations: 2.613 MB / 2.371 GB, free: 95.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/4.488, allocations: 4 kB / 2.371 GB, free: 95.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/4.489, allocations: 195.8 kB / 2.371 GB, free: 95.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/4.49, allocations: 84.72 kB / 2.371 GB, free: 94.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/4.49, allocations: 35.97 kB / 2.371 GB, free: 94.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/4.491, allocations: 1.567 MB / 2.372 GB, free: 93.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/4.491, allocations: 8.047 kB / 2.372 GB, free: 93.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/4.493, allocations: 1.171 MB / 2.374 GB, free: 92.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/4.494, allocations: 371.2 kB / 2.374 GB, free: 91.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/4.494, allocations: 16 kB / 2.374 GB, free: 91.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/4.495, allocations: 79.92 kB / 2.374 GB, free: 91.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/4.495, allocations: 72.89 kB / 2.374 GB, free: 91.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/4.495, allocations: 35.98 kB / 2.374 GB, free: 91.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000748/4.496, allocations: 0.6317 MB / 2.375 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/4.496, allocations: 0 / 2.375 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001324/4.497, allocations: 470.5 kB / 2.375 GB, free: 90.38 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 (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.004153/4.501, allocations: 2.694 MB / 2.378 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001829/4.503, allocations: 0.9993 MB / 2.379 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/4.503, allocations: 0 / 2.379 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/4.504, allocations: 0.6173 MB / 2.379 GB, free: 86.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/4.505, allocations: 252.5 kB / 2.38 GB, free: 85.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/4.517, allocations: 6.922 MB / 2.386 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/4.518, allocations: 1.197 MB / 2.388 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001108/4.519, allocations: 308.2 kB / 2.388 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006608/4.52, allocations: 0.5344 MB / 2.388 GB, free: 76.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.212e-06/4.52, allocations: 0 / 2.388 GB, free: 76.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05593/4.576, allocations: 35.43 MB / 2.423 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/4.576, allocations: 262.8 kB / 2.423 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.453/8.029, allocations: 0 / 2.423 GB, free: 41.26 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)