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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.006939/0.006939, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7497/0.7497, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009288/0.0009286, allocations: 96.61 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.000365, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4324, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.454/4.887, allocations: 1.696 GB / 2.346 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/4.887, allocations: 95.06 kB / 2.346 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1841/5.071, allocations: 84.41 MB / 2.428 GB, free: 162 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.747e-06/5.071, allocations: 0 / 2.428 GB, free: 162 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.913e-05/5.071, allocations: 30.56 kB / 2.428 GB, free: 162 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.002846/5.074, allocations: 1.447 MB / 2.43 GB, free: 161 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/5.074, allocations: 11.38 kB / 2.43 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/5.074, allocations: 187 kB / 2.43 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/5.075, allocations: 230.7 kB / 2.43 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/5.077, allocations: 0.7493 MB / 2.431 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/5.077, allocations: 123.8 kB / 2.431 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/5.077, allocations: 119.2 kB / 2.431 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/5.079, allocations: 1.265 MB / 2.432 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/5.079, allocations: 3.938 kB / 2.432 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/5.079, allocations: 49.94 kB / 2.432 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/5.079, allocations: 34.7 kB / 2.432 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/5.081, allocations: 1.393 MB / 2.434 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0057/5.087, allocations: 3.571 MB / 2.437 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/5.088, allocations: 0.9138 MB / 2.438 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.903e-05/5.088, allocations: 39.23 kB / 2.438 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009514/5.089, allocations: 0.5458 MB / 2.439 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 3.206e-06/5.089, allocations: 0 / 2.439 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.003323/5.093, allocations: 1.389 MB / 2.44 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.99e-05/5.093, allocations: 255 kB / 2.44 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/5.094, allocations: 0.7042 MB / 2.441 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/5.094, allocations: 41.7 kB / 2.441 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/5.094, allocations: 0.5039 MB / 2.441 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/5.095, allocations: 311.5 kB / 2.442 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/5.095, allocations: 15.94 kB / 2.442 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/5.095, allocations: 345.9 kB / 2.442 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/5.095, allocations: 309.8 kB / 2.442 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/5.096, allocations: 432.2 kB / 2.443 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/5.096, allocations: 378.9 kB / 2.443 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/5.096, allocations: 0 / 2.443 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001892/5.098, allocations: 0.9736 MB / 2.444 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/5.098, allocations: 7.984 kB / 2.444 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/5.098, allocations: 7.938 kB / 2.444 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/5.099, allocations: 80.84 kB / 2.444 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/5.1, allocations: 191.7 kB / 2.444 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/5.102, allocations: 1.544 MB / 2.446 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/5.102, allocations: 107 kB / 2.446 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/5.103, allocations: 35.97 kB / 2.446 GB, free: 147.7 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.0007196/5.103, allocations: 311 kB / 2.446 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/5.103, allocations: 98.78 kB / 2.446 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/5.106, allocations: 1.305 MB / 2.448 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/5.106, allocations: 8 kB / 2.448 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/5.106, allocations: 4 kB / 2.448 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/5.106, allocations: 7.969 kB / 2.448 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/5.11, allocations: 2.462 MB / 2.45 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/5.11, allocations: 7.984 kB / 2.45 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/5.111, allocations: 179.8 kB / 2.45 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/5.111, allocations: 84.72 kB / 2.45 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/5.111, allocations: 39.97 kB / 2.45 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/5.113, allocations: 1.556 MB / 2.452 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/5.113, allocations: 8.016 kB / 2.452 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/5.115, allocations: 1.113 MB / 2.453 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/5.115, allocations: 355.3 kB / 2.453 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/5.115, allocations: 23.95 kB / 2.453 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/5.116, allocations: 75.94 kB / 2.453 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/5.116, allocations: 72.89 kB / 2.454 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/5.116, allocations: 39.97 kB / 2.454 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008357/5.117, allocations: 0.5927 MB / 2.454 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.117, allocations: 3.938 kB / 2.454 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001615/5.119, allocations: 442.7 kB / 2.455 GB, free: 138.7 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.004665/5.123, allocations: 2.627 MB / 2.457 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001926/5.125, allocations: 0.9368 MB / 2.458 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/5.125, allocations: 0 / 2.458 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000976/5.126, allocations: 0.5823 MB / 2.459 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/5.128, allocations: 250.5 kB / 2.459 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/5.135, allocations: 3.893 MB / 2.463 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/5.136, allocations: 1.15 MB / 2.464 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001136/5.137, allocations: 295.6 kB / 2.464 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/5.138, allocations: 495.2 kB / 2.465 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/5.138, allocations: 4 kB / 2.465 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06215/5.2, allocations: 33.83 MB / 2.498 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/5.2, allocations: 266.8 kB / 2.498 GB, free: 94.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.595/8.795, allocations: 0 / 2.498 GB, free: 94.69 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)