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.01069/0.01069, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8516/0.8516, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 223.2 MB / 403.2 MB, free: 6.637 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.001184/0.001184, allocations: 102.8 kB / 485.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003445, allocations: 8 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4927, allocations: 81.58 MB / 0.6437 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.994/4.487, allocations: 1.696 GB / 2.34 GB, free: 45.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/4.487, allocations: 91.95 kB / 2.34 GB, free: 44.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7559/5.243, allocations: 84.39 MB / 2.422 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.208e-06/5.243, allocations: 2.531 kB / 2.422 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.838e-05/5.244, allocations: 31.88 kB / 2.422 GB, free: 230.6 MB / 0.6823 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.002935/5.246, allocations: 1.441 MB / 2.424 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/5.247, allocations: 8.062 kB / 2.424 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/5.248, allocations: 230.4 kB / 2.424 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/5.249, allocations: 0.7572 MB / 2.425 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/5.249, allocations: 119.3 kB / 2.425 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/5.249, allocations: 120.8 kB / 2.425 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/5.251, allocations: 1.273 MB / 2.426 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/5.251, allocations: 3.938 kB / 2.426 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/5.252, allocations: 54.59 kB / 2.426 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/5.252, allocations: 32.28 kB / 2.426 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/5.254, allocations: 1.391 MB / 2.428 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005595/5.259, allocations: 3.559 MB / 2.431 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/5.261, allocations: 0.9165 MB / 2.432 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.953e-05/5.261, allocations: 43.61 kB / 2.432 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/5.262, allocations: 0.5521 MB / 2.432 GB, free: 225 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 2.885e-06/5.262, allocations: 0 / 2.432 GB, free: 225 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.003416/5.265, allocations: 1.393 MB / 2.434 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/5.265, allocations: 242.4 kB / 2.434 GB, free: 224 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/5.266, allocations: 0.7088 MB / 2.435 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/5.266, allocations: 41.7 kB / 2.435 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/5.267, allocations: 0.5118 MB / 2.435 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/5.267, allocations: 302.3 kB / 2.436 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/5.267, allocations: 16 kB / 2.436 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/5.267, allocations: 344.1 kB / 2.436 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/5.268, allocations: 305.8 kB / 2.436 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/5.268, allocations: 441 kB / 2.437 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/5.269, allocations: 369.1 kB / 2.437 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/5.269, allocations: 0 / 2.437 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00194/5.271, allocations: 0.9818 MB / 2.438 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/5.271, allocations: 4 kB / 2.438 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/5.271, allocations: 2.312 kB / 2.438 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/5.271, allocations: 87.3 kB / 2.438 GB, free: 220 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/5.272, allocations: 189.4 kB / 2.438 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/5.274, allocations: 1.541 MB / 2.44 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008505/5.275, allocations: 107.1 kB / 2.44 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/5.275, allocations: 34.48 kB / 2.44 GB, free: 218 MB / 0.6823 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 () * Number of clocked 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.0006786/5.276, allocations: 313.8 kB / 2.44 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/5.276, allocations: 94.78 kB / 2.44 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/5.278, allocations: 1.3 MB / 2.442 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/5.279, allocations: 12 kB / 2.442 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/5.279, allocations: 3.938 kB / 2.442 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/5.279, allocations: 8.5 kB / 2.442 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/5.283, allocations: 2.474 MB / 2.444 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/5.283, allocations: 3.938 kB / 2.444 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/5.283, allocations: 186 kB / 2.444 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/5.284, allocations: 84.77 kB / 2.444 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/5.284, allocations: 27.98 kB / 2.444 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/5.286, allocations: 1.576 MB / 2.446 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/5.286, allocations: 0 / 2.446 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/5.288, allocations: 1.116 MB / 2.447 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/5.288, allocations: 351.3 kB / 2.447 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/5.288, allocations: 24 kB / 2.447 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/5.289, allocations: 75.94 kB / 2.447 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/5.289, allocations: 74.16 kB / 2.447 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/5.289, allocations: 39.98 kB / 2.447 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007753/5.29, allocations: 0.5927 MB / 2.448 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/5.29, allocations: 4 kB / 2.448 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001422/5.292, allocations: 442.8 kB / 2.448 GB, free: 209.1 MB / 0.6823 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 (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.002099/5.294, allocations: 1.064 MB / 2.449 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001794/5.295, allocations: 0.9316 MB / 2.45 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/5.296, allocations: 4 kB / 2.45 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/5.296, allocations: 0.5784 MB / 2.451 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/5.298, allocations: 247.7 kB / 2.451 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/5.303, allocations: 2.738 MB / 2.454 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/5.303, allocations: 1.15 MB / 2.455 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001178/5.304, allocations: 292.5 kB / 2.455 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/5.305, allocations: 123.4 kB / 2.455 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.024e-06/5.305, allocations: 0 / 2.455 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.03665/5.341, allocations: 23.23 MB / 2.478 GB, free: 179.3 MB / 0.6823 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)