Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 173.7 kB / 7.642 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7446/0.7446, allocations: 130.7 MB / 138.7 MB, free: 3.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 391.8 MB, free: 14.22 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.0009204/0.0009204, allocations: 90.83 kB / 473.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.896e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5207, allocations: 81.57 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.661/6.182, allocations: 1.695 GB / 2.323 GB, free: 180.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/6.183, allocations: 90.97 kB / 2.323 GB, free: 180.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1879/6.37, allocations: 83.19 MB / 2.405 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.146e-06/6.37, allocations: 0 / 2.405 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001732/6.371, allocations: 39.92 kB / 2.405 GB, free: 142.3 MB / 0.6667 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.004427/6.375, allocations: 1.311 MB / 2.406 GB, free: 141.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/6.375, allocations: 12.03 kB / 2.406 GB, free: 141 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/6.377, allocations: 228 kB / 2.406 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/6.379, allocations: 0.7479 MB / 2.407 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/6.379, allocations: 80.19 kB / 2.407 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/6.38, allocations: 75.94 kB / 2.407 GB, free: 140 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002952/6.383, allocations: 1.271 MB / 2.408 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/6.385, allocations: 1.059 MB / 2.409 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/6.385, allocations: 4 kB / 2.409 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/6.385, allocations: 3.953 kB / 2.409 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/6.386, allocations: 32 kB / 2.409 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006981/6.393, allocations: 3.316 MB / 2.413 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/6.394, allocations: 0.8125 MB / 2.413 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/6.394, allocations: 323.2 kB / 2.414 GB, free: 134 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/6.394, allocations: 44.66 kB / 2.414 GB, free: 133.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008548/6.395, allocations: 491.7 kB / 2.414 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=93): time 4.028e-06/6.395, allocations: 4 kB / 2.414 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=93): time 0.0021/6.397, allocations: 0.8281 MB / 2.415 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/6.398, allocations: 248.1 kB / 2.415 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/6.399, allocations: 0.5739 MB / 2.416 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/6.399, allocations: 25.7 kB / 2.416 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/6.399, allocations: 0.5192 MB / 2.416 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/6.399, allocations: 291.6 kB / 2.417 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/6.399, allocations: 0 / 2.417 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001776/6.4, allocations: 386.8 kB / 2.417 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/6.4, allocations: 274.6 kB / 2.417 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/6.401, allocations: 393.1 kB / 2.418 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/6.401, allocations: 334.3 kB / 2.418 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/6.401, allocations: 7.891 kB / 2.418 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0018/6.403, allocations: 0.8873 MB / 2.419 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/6.403, allocations: 4 kB / 2.419 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/6.403, allocations: 0 / 2.419 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/6.404, allocations: 92.77 kB / 2.419 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/6.404, allocations: 179.8 kB / 2.419 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/6.406, allocations: 1.465 MB / 2.421 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/6.407, allocations: 79.27 kB / 2.421 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/6.407, allocations: 36.03 kB / 2.421 GB, free: 126.6 MB / 0.6667 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.0002424/6.407, allocations: 131.3 kB / 2.421 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/6.408, allocations: 86.97 kB / 2.421 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/6.41, allocations: 1.187 MB / 2.422 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/6.41, allocations: 12 kB / 2.422 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/6.41, allocations: 7.953 kB / 2.422 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/6.41, allocations: 7.969 kB / 2.422 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/6.414, allocations: 2.201 MB / 2.424 GB, free: 122.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/6.414, allocations: 0 / 2.424 GB, free: 122.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/6.415, allocations: 179.8 kB / 2.424 GB, free: 122.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/6.415, allocations: 88.7 kB / 2.425 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/6.415, allocations: 15.98 kB / 2.425 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/6.417, allocations: 1.496 MB / 2.426 GB, free: 121 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/6.417, allocations: 0 / 2.426 GB, free: 121 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/6.419, allocations: 1.009 MB / 2.427 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005465/6.419, allocations: 335.4 kB / 2.427 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/6.419, allocations: 4 kB / 2.427 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/6.42, allocations: 59.94 kB / 2.427 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/6.42, allocations: 73.14 kB / 2.427 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/6.421, allocations: 47.92 kB / 2.427 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006909/6.421, allocations: 487.1 kB / 2.428 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/6.421, allocations: 0 / 2.428 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001714/6.423, allocations: 410.5 kB / 2.428 GB, free: 118.5 MB / 0.6667 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.00309/6.426, allocations: 1.09 MB / 2.429 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001755/6.428, allocations: 0.8357 MB / 2.43 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/6.428, allocations: 4 kB / 2.43 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/6.429, allocations: 0.53 MB / 2.431 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/6.43, allocations: 226.8 kB / 2.431 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/6.435, allocations: 1.646 MB / 2.433 GB, free: 114.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/6.436, allocations: 1.148 MB / 2.434 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00111/6.437, allocations: 291 kB / 2.434 GB, free: 112.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/6.438, allocations: 119.4 kB / 2.434 GB, free: 112.7 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/6.438, allocations: 0 / 2.434 GB, free: 112.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.03757/6.475, allocations: 18.14 MB / 2.452 GB, free: 94.63 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)