Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.00273/0.00273, allocations: 174.6 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 1.335/1.335, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.787/2.787, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.001705/0.001705, allocations: 97.92 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.441e-05/5.452e-05, allocations: 3.406 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.336, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.705/10.04, allocations: 1.695 GB / 2.335 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004599/10.04, allocations: 85.27 kB / 2.335 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.314/10.36, allocations: 80.52 MB / 2.414 GB, free: 159 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.03e-06/10.36, allocations: 0 / 2.414 GB, free: 159 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002339/10.36, allocations: 32 kB / 2.414 GB, free: 159 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.005667/10.36, allocations: 1.266 MB / 2.415 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.927e-05/10.36, allocations: 8.031 kB / 2.415 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008346/10.36, allocations: 177.2 kB / 2.415 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/10.37, allocations: 218.1 kB / 2.415 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/10.37, allocations: 0.7094 MB / 2.416 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/10.37, allocations: 86.3 kB / 2.416 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/10.37, allocations: 108 kB / 2.416 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004441/10.37, allocations: 1.095 MB / 2.417 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/10.37, allocations: 0 / 2.417 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/10.37, allocations: 51.95 kB / 2.417 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/10.37, allocations: 28 kB / 2.417 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/10.38, allocations: 1.183 MB / 2.419 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/10.39, allocations: 3.078 MB / 2.422 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/10.39, allocations: 0.745 MB / 2.422 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/10.39, allocations: 275.2 kB / 2.423 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/10.39, allocations: 40.8 kB / 2.423 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/10.39, allocations: 425.4 kB / 2.423 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 6.131e-06/10.39, allocations: 0 / 2.423 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.003007/10.4, allocations: 0.7352 MB / 2.424 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/10.4, allocations: 248.1 kB / 2.424 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/10.4, allocations: 0.6602 MB / 2.425 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/10.4, allocations: 41.7 kB / 2.425 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/10.4, allocations: 0.4919 MB / 2.425 GB, free: 147 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/10.4, allocations: 260.2 kB / 2.425 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/10.4, allocations: 20 kB / 2.425 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001583/10.4, allocations: 330 kB / 2.426 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/10.4, allocations: 217.5 kB / 2.426 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/10.4, allocations: 333 kB / 2.426 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/10.4, allocations: 266 kB / 2.426 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/10.4, allocations: 112 / 2.426 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002301/10.4, allocations: 0.7615 MB / 2.427 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/10.4, allocations: 8.922 kB / 2.427 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/10.4, allocations: 0 / 2.427 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/10.4, allocations: 84.84 kB / 2.427 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/10.41, allocations: 147.8 kB / 2.427 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/10.41, allocations: 1.518 MB / 2.429 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/10.41, allocations: 91.23 kB / 2.429 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/10.41, allocations: 27.98 kB / 2.429 GB, free: 142.8 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.0003756/10.41, allocations: 144.9 kB / 2.429 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/10.41, allocations: 94.83 kB / 2.429 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/10.41, allocations: 0.9985 MB / 2.43 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/10.41, allocations: 8 kB / 2.43 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/10.41, allocations: 4 kB / 2.43 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/10.41, allocations: 3.984 kB / 2.43 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/10.42, allocations: 1.005 MB / 2.431 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/10.42, allocations: 4 kB / 2.431 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/10.42, allocations: 147.8 kB / 2.431 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/10.42, allocations: 88.7 kB / 2.431 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/10.42, allocations: 27.98 kB / 2.432 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/10.42, allocations: 1.552 MB / 2.433 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/10.42, allocations: 0 / 2.433 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/10.42, allocations: 0.8401 MB / 2.434 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008815/10.43, allocations: 295.8 kB / 2.434 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/10.43, allocations: 23.98 kB / 2.434 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/10.43, allocations: 63.95 kB / 2.434 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/10.43, allocations: 72.62 kB / 2.434 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/10.43, allocations: 31.98 kB / 2.434 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001245/10.43, allocations: 0.5265 MB / 2.435 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/10.43, allocations: 0 / 2.435 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002223/10.43, allocations: 406.8 kB / 2.435 GB, free: 136.2 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.006446/10.44, allocations: 2.311 MB / 2.437 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002692/10.44, allocations: 0.7255 MB / 2.438 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/10.44, allocations: 0 / 2.438 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/10.44, allocations: 494.9 kB / 2.439 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/10.44, allocations: 250.4 kB / 2.439 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008378/10.45, allocations: 1.803 MB / 2.441 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/10.45, allocations: 1.106 MB / 2.442 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001827/10.45, allocations: 262.8 kB / 2.442 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008979/10.46, allocations: 455.2 kB / 2.442 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.474e-06/10.46, allocations: 4 kB / 2.442 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09897/10.55, allocations: 32.82 MB / 2.474 GB, free: 96.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/10.55, allocations: 239.4 kB / 2.475 GB, free: 95.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.382/15.94, allocations: 0 / 2.475 GB, free: 95.95 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)