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.008854/0.008854, allocations: 171.3 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8143/0.8143, allocations: 135.2 MB / 151 MB, free: 13.83 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.48/1.48, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0009719/0.0009717, allocations: 99.81 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003355, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4947, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.993, allocations: 1.695 GB / 2.344 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/4.993, allocations: 98.22 kB / 2.344 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1741/5.167, allocations: 80.81 MB / 2.423 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.077e-06/5.167, allocations: 3.938 kB / 2.423 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001564/5.167, allocations: 34.69 kB / 2.423 GB, free: 164.4 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.0036/5.171, allocations: 1.395 MB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/5.171, allocations: 7.688 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/5.171, allocations: 175.2 kB / 2.425 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/5.172, allocations: 218.5 kB / 2.425 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/5.174, allocations: 0.7164 MB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/5.174, allocations: 85.52 kB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/5.174, allocations: 111.2 kB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/5.176, allocations: 1.124 MB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/5.176, allocations: 1 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/5.176, allocations: 51.55 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/5.176, allocations: 27.97 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/5.178, allocations: 1.243 MB / 2.428 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/5.183, allocations: 3.061 MB / 2.431 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/5.184, allocations: 0.7905 MB / 2.432 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.953e-05/5.184, allocations: 30.69 kB / 2.432 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/5.185, allocations: 451.9 kB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 5.33e-06/5.185, allocations: 3.984 kB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.00331/5.189, allocations: 1.17 MB / 2.434 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/5.189, allocations: 240 kB / 2.434 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/5.19, allocations: 0.6684 MB / 2.434 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/5.19, allocations: 45.14 kB / 2.434 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/5.19, allocations: 0.4936 MB / 2.435 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/5.191, allocations: 251.4 kB / 2.435 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/5.191, allocations: 9.875 kB / 2.435 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/5.191, allocations: 333.8 kB / 2.436 GB, free: 158 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/5.191, allocations: 245.4 kB / 2.436 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/5.192, allocations: 357.7 kB / 2.436 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/5.192, allocations: 286.5 kB / 2.436 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/5.192, allocations: 0 / 2.436 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001789/5.194, allocations: 0.8102 MB / 2.437 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/5.194, allocations: 11.89 kB / 2.437 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/5.194, allocations: 0 / 2.437 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/5.195, allocations: 83.91 kB / 2.437 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/5.196, allocations: 147.3 kB / 2.437 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/5.198, allocations: 1.528 MB / 2.439 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/5.198, allocations: 92.7 kB / 2.439 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/5.198, allocations: 29.67 kB / 2.439 GB, free: 154.9 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 () * Number of clocked 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.0006562/5.199, allocations: 277.2 kB / 2.439 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/5.199, allocations: 90.83 kB / 2.439 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/5.201, allocations: 1.051 MB / 2.44 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/5.201, allocations: 8 kB / 2.44 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/5.201, allocations: 112 / 2.44 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/5.201, allocations: 7.922 kB / 2.44 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/5.203, allocations: 1.011 MB / 2.441 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/5.203, allocations: 3.984 kB / 2.441 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/5.203, allocations: 155.7 kB / 2.442 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/5.204, allocations: 80.78 kB / 2.442 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/5.204, allocations: 23.98 kB / 2.442 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/5.205, allocations: 1.556 MB / 2.443 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/5.206, allocations: 4 kB / 2.443 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/5.207, allocations: 0.9082 MB / 2.444 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/5.208, allocations: 295.6 kB / 2.444 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/5.208, allocations: 16 kB / 2.444 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/5.208, allocations: 63.95 kB / 2.444 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/5.208, allocations: 68.86 kB / 2.444 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/5.209, allocations: 31.98 kB / 2.444 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006792/5.209, allocations: 0.5342 MB / 2.445 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/5.209, allocations: 0 / 2.445 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001477/5.211, allocations: 406.8 kB / 2.445 GB, free: 148.5 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) * Number of clocked states: 0 () * 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.004003/5.215, allocations: 2.412 MB / 2.448 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001508/5.216, allocations: 0.7766 MB / 2.449 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/5.216, allocations: 4 kB / 2.449 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007687/5.217, allocations: 0.4964 MB / 2.449 GB, free: 145 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/5.218, allocations: 251.2 kB / 2.449 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/5.229, allocations: 5.859 MB / 2.455 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/5.23, allocations: 1.109 MB / 2.456 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001077/5.231, allocations: 274.7 kB / 2.456 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/5.231, allocations: 451.2 kB / 2.457 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/5.231, allocations: 0 / 2.457 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/5.29, allocations: 31.12 MB / 2.487 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/5.29, allocations: 269.1 kB / 2.487 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/8.715, allocations: 0 / 2.487 GB, free: 105.8 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)