Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001273/0.001273, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7126/0.7126, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.495/1.495, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009276, allocations: 105.2 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.326e-05, allocations: 2.25 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.504/4.681, allocations: 1.695 GB / 2.335 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/4.681, allocations: 87.89 kB / 2.335 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.173/4.854, allocations: 80.51 MB / 2.414 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/4.854, allocations: 0 / 2.414 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001328/4.854, allocations: 35.98 kB / 2.414 GB, free: 159.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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002709/4.857, allocations: 1.27 MB / 2.415 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/4.857, allocations: 8.031 kB / 2.415 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003656/4.857, allocations: 169.3 kB / 2.415 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/4.858, allocations: 218.1 kB / 2.415 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/4.86, allocations: 0.7094 MB / 2.416 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/4.86, allocations: 86.3 kB / 2.416 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/4.86, allocations: 108 kB / 2.416 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/4.862, allocations: 1.091 MB / 2.417 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/4.862, allocations: 0 / 2.417 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/4.862, allocations: 51.95 kB / 2.417 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/4.862, allocations: 31.98 kB / 2.417 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/4.864, allocations: 1.187 MB / 2.419 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/4.869, allocations: 3.074 MB / 2.422 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/4.87, allocations: 0.7426 MB / 2.422 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/4.87, allocations: 279.2 kB / 2.423 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/4.87, allocations: 36.8 kB / 2.423 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006175/4.871, allocations: 433.3 kB / 2.423 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/4.871, allocations: 0 / 2.423 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.00164/4.873, allocations: 0.7352 MB / 2.424 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/4.873, allocations: 240.1 kB / 2.424 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/4.874, allocations: 0.668 MB / 2.425 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/4.874, allocations: 41.7 kB / 2.425 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/4.874, allocations: 0.4918 MB / 2.425 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/4.874, allocations: 260.2 kB / 2.425 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/4.874, allocations: 19.94 kB / 2.425 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/4.874, allocations: 333.9 kB / 2.426 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/4.875, allocations: 217.5 kB / 2.426 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/4.875, allocations: 325.1 kB / 2.426 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/4.875, allocations: 278 kB / 2.426 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/4.875, allocations: 112 / 2.426 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001504/4.877, allocations: 0.7576 MB / 2.427 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/4.877, allocations: 4 kB / 2.427 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/4.877, allocations: 0 / 2.427 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/4.878, allocations: 84.84 kB / 2.427 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/4.878, allocations: 147.8 kB / 2.427 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/4.88, allocations: 1.508 MB / 2.429 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/4.881, allocations: 95.27 kB / 2.429 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/4.881, allocations: 23.98 kB / 2.429 GB, free: 143.3 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0001644/4.881, allocations: 148.9 kB / 2.429 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/4.881, allocations: 94.83 kB / 2.429 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/4.883, allocations: 0.9945 MB / 2.43 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/4.883, allocations: 8 kB / 2.43 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/4.883, allocations: 3.938 kB / 2.43 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/4.883, allocations: 7.984 kB / 2.43 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/4.884, allocations: 1.008 MB / 2.431 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/4.884, allocations: 3.984 kB / 2.431 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/4.885, allocations: 147.8 kB / 2.431 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/4.885, allocations: 84.78 kB / 2.431 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/4.885, allocations: 23.98 kB / 2.431 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/4.887, allocations: 1.556 MB / 2.433 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/4.887, allocations: 0 / 2.433 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/4.888, allocations: 0.8401 MB / 2.434 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/4.889, allocations: 299.6 kB / 2.434 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/4.889, allocations: 16 kB / 2.434 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/4.889, allocations: 67.95 kB / 2.434 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/4.89, allocations: 64.64 kB / 2.434 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/4.89, allocations: 31.98 kB / 2.434 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006649/4.89, allocations: 0.5342 MB / 2.435 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/4.89, allocations: 0 / 2.435 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001149/4.892, allocations: 406.8 kB / 2.435 GB, free: 136.8 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003539/4.895, allocations: 2.32 MB / 2.437 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001268/4.896, allocations: 0.7294 MB / 2.438 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/4.896, allocations: 0 / 2.438 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/4.897, allocations: 483 kB / 2.439 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/4.898, allocations: 246.5 kB / 2.439 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/4.903, allocations: 1.799 MB / 2.441 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/4.903, allocations: 1.11 MB / 2.442 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009443/4.904, allocations: 270.8 kB / 2.442 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/4.905, allocations: 451.2 kB / 2.442 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.372e-06/4.905, allocations: 4 kB / 2.442 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06091/4.966, allocations: 32.82 MB / 2.474 GB, free: 96.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/4.966, allocations: 231.1 kB / 2.475 GB, free: 96.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/8.043, allocations: 7.094 kB / 2.475 GB, free: 96.48 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)