Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8272/0.8272, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 185.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009545, allocations: 91.64 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 270.2 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.717e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5786, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.93/5.509, allocations: 1.693 GB / 2.458 GB, free: 49.22 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/5.509, allocations: 84.28 kB / 2.458 GB, free: 49.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.642/6.151, allocations: 84.09 MB / 2.54 GB, free: 235.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.436e-06/6.151, allocations: 0 / 2.54 GB, free: 235.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.54e-05/6.151, allocations: 38.38 kB / 2.54 GB, free: 235.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002442/6.154, allocations: 1.312 MB / 2.541 GB, free: 234.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.452e-05/6.154, allocations: 15.22 kB / 2.541 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009062/6.155, allocations: 222.8 kB / 2.541 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/6.156, allocations: 0.7574 MB / 2.542 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/6.156, allocations: 121 kB / 2.542 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/6.156, allocations: 121.7 kB / 2.542 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/6.158, allocations: 1.227 MB / 2.544 GB, free: 234.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/6.158, allocations: 0 / 2.544 GB, free: 234.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/6.158, allocations: 51.88 kB / 2.544 GB, free: 234.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/6.158, allocations: 28.88 kB / 2.544 GB, free: 234.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/6.16, allocations: 1.342 MB / 2.545 GB, free: 234.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/6.165, allocations: 3.546 MB / 2.549 GB, free: 233.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/6.166, allocations: 0.8774 MB / 2.549 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/6.167, allocations: 343.6 kB / 2.55 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/6.167, allocations: 45.16 kB / 2.55 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007308/6.167, allocations: 0.5117 MB / 2.55 GB, free: 233.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 3.637e-06/6.167, allocations: 0 / 2.55 GB, free: 233.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.001838/6.169, allocations: 0.8884 MB / 2.551 GB, free: 232.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/6.169, allocations: 245.8 kB / 2.551 GB, free: 232.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/6.17, allocations: 0.7022 MB / 2.552 GB, free: 232.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/6.17, allocations: 49.42 kB / 2.552 GB, free: 232.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/6.171, allocations: 0.4985 MB / 2.553 GB, free: 232.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/6.171, allocations: 312.4 kB / 2.553 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/6.171, allocations: 17.12 kB / 2.553 GB, free: 231.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/6.171, allocations: 343.8 kB / 2.553 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/6.171, allocations: 282.9 kB / 2.553 GB, free: 231.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/6.172, allocations: 409.7 kB / 2.554 GB, free: 231.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/6.172, allocations: 353.5 kB / 2.554 GB, free: 231.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/6.172, allocations: 0 / 2.554 GB, free: 231.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001715/6.174, allocations: 0.93 MB / 2.555 GB, free: 230.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/6.174, allocations: 4.969 kB / 2.555 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/6.174, allocations: 7.047 kB / 2.555 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/6.175, allocations: 82.06 kB / 2.555 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/6.176, allocations: 192.2 kB / 2.555 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/6.177, allocations: 1.531 MB / 2.557 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/6.178, allocations: 104.2 kB / 2.557 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/6.178, allocations: 36.03 kB / 2.557 GB, free: 229.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001993/6.178, allocations: 156.9 kB / 2.557 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/6.178, allocations: 101.5 kB / 2.557 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/6.181, allocations: 1.26 MB / 2.558 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/6.181, allocations: 7.656 kB / 2.558 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/6.181, allocations: 3.594 kB / 2.558 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/6.181, allocations: 7.969 kB / 2.559 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/6.184, allocations: 2.43 MB / 2.561 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/6.184, allocations: 3.953 kB / 2.561 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/6.185, allocations: 178.4 kB / 2.561 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/6.186, allocations: 84.94 kB / 2.561 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/6.186, allocations: 28.16 kB / 2.561 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/6.187, allocations: 1.555 MB / 2.563 GB, free: 225 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/6.187, allocations: 0 / 2.563 GB, free: 225 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/6.189, allocations: 1.073 MB / 2.564 GB, free: 224.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/6.189, allocations: 353.3 kB / 2.564 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/6.19, allocations: 22.56 kB / 2.564 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/6.19, allocations: 72.22 kB / 2.564 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/6.19, allocations: 81.17 kB / 2.564 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/6.191, allocations: 38 kB / 2.564 GB, free: 224.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007094/6.191, allocations: 0.5837 MB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/6.191, allocations: 2.156 kB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001263/6.193, allocations: 433 kB / 2.565 GB, free: 223.6 MB / 0.698 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 (107): * Single equations (assignments): 104 * 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.001755/6.194, allocations: 1.043 MB / 2.566 GB, free: 223.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001451/6.196, allocations: 0.8883 MB / 2.567 GB, free: 222.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/6.196, allocations: 0 / 2.567 GB, free: 222.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/6.197, allocations: 0.5613 MB / 2.568 GB, free: 221.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/6.198, allocations: 246.5 kB / 2.568 GB, free: 221.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/6.201, allocations: 1.714 MB / 2.57 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/6.202, allocations: 1.153 MB / 2.571 GB, free: 218.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009182/6.203, allocations: 291.5 kB / 2.571 GB, free: 218.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/6.203, allocations: 135.3 kB / 2.571 GB, free: 218.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/6.203, allocations: 0 / 2.571 GB, free: 218.2 MB / 0.698 GB Notification: Performance of Templates: time 0.03148/6.234, allocations: 24.93 MB / 2.595 GB, free: 193.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)