Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009006/0.0009007, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8887/0.8887, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005764/0.1522, allocations: 5.093 MB / 0.5922 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3739/0.5261, allocations: 128.4 MB / 0.7176 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.5271, allocations: 23.5 kB / 0.7176 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.5276, allocations: 112.1 kB / 0.7177 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.5292, allocations: 0.5889 MB / 0.7183 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.5315, allocations: 0.9354 MB / 0.7192 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.5336, allocations: 1.369 MB / 0.7205 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.5351, allocations: 1.177 MB / 0.7217 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.5361, allocations: 0.7035 MB / 0.7223 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009516/0.5371, allocations: 0.7639 MB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.5372, allocations: 58.53 kB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008886/0.5381, allocations: 362.7 kB / 0.7235 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.5385, allocations: 347.7 kB / 0.7238 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.5388, allocations: 357.1 kB / 0.7242 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.5416, allocations: 2.4 MB / 0.7265 GB, free: 9.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5416, allocations: 0 / 0.7265 GB, free: 9.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5416, allocations: 0 / 0.7265 GB, free: 9.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.237e-05/0.5417, allocations: 0 / 0.7265 GB, free: 9.281 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005838/0.5476, allocations: 2.118 MB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5476, allocations: 12.91 kB / 0.7286 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.5619, allocations: 2.276 MB / 0.7308 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.5646, allocations: 1.168 MB / 0.732 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.5648, allocations: 160 kB / 0.7321 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.5652, allocations: 214 kB / 0.7323 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008032/0.5732, allocations: 3.198 MB / 0.7354 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.5733, allocations: 0 / 0.7354 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.5735, allocations: 91.94 kB / 0.7355 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.5736, allocations: 52 kB / 0.7356 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.5853, allocations: 4.224 MB / 0.7397 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.6006, allocations: 7.048 MB / 0.7466 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007936/0.6086, allocations: 2.71 MB / 0.7492 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007704/0.6094, allocations: 0.4995 MB / 0.7497 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004434/0.6138, allocations: 1.699 MB / 0.7514 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=195): time 3.637e-06/0.6139, allocations: 0 / 0.7514 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=195): time 0.01316/0.627, allocations: 4.218 MB / 0.7555 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6272, allocations: 205.9 kB / 0.7557 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.6283, allocations: 0.8504 MB / 0.7565 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.6286, allocations: 61.7 kB / 0.7566 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/0.6291, allocations: 0.7074 MB / 0.7573 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/0.6296, allocations: 0.6313 MB / 0.7579 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.6298, allocations: 32 kB / 0.7579 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6299, allocations: 369.9 kB / 0.7583 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.6337, allocations: 1.179 MB / 0.7594 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/0.6375, allocations: 1.352 MB / 0.7607 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.6413, allocations: 1.216 MB / 0.7619 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.6413, allocations: 7.938 kB / 0.7619 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008635/0.6499, allocations: 2.909 MB / 0.7648 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.65, allocations: 7.953 kB / 0.7648 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.65, allocations: 4.062 kB / 0.7648 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.6505, allocations: 84.77 kB / 0.7649 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.6538, allocations: 0.5731 MB / 0.7654 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.6556, allocations: 1.532 MB / 0.7669 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.6584, allocations: 356.4 kB / 0.7673 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.6586, allocations: 83.91 kB / 0.7673 GB, free: 3.039 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.0009102/0.6595, allocations: 401.5 kB / 0.7677 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.6598, allocations: 146.3 kB / 0.7679 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.6699, allocations: 3.516 MB / 0.7713 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.67, allocations: 23.98 kB / 0.7713 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.67, allocations: 0 / 0.7713 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.67, allocations: 7.969 kB / 0.7713 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.683, allocations: 5.773 MB / 0.777 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.683, allocations: 4 kB / 0.777 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00318/0.6862, allocations: 0.55 MB / 0.7775 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.6867, allocations: 88.77 kB / 0.7776 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.6869, allocations: 79.8 kB / 0.7777 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.6885, allocations: 1.552 MB / 0.7792 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6886, allocations: 3.938 kB / 0.7792 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008801/0.6974, allocations: 3.067 MB / 0.7822 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009531/0.6983, allocations: 0.5412 MB / 0.7827 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.6986, allocations: 39.95 kB / 0.7827 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/0.7011, allocations: 269.5 kB / 0.783 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.7013, allocations: 121.8 kB / 0.7831 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/0.7015, allocations: 83.92 kB / 0.7832 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008152/0.7024, allocations: 0.6349 MB / 0.7838 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7024, allocations: 0 / 0.7838 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00159/0.704, allocations: 0.5919 MB / 0.7844 GB, free: 1.289 MB / 0.5919 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 (210): * Single equations (assignments): 207 * 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.001313/0.7053, allocations: 0.6323 MB / 0.785 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008218/0.7135, allocations: 2.964 MB / 0.7879 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7135, allocations: 0 / 0.7879 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.7177, allocations: 1.673 MB / 0.7895 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.7189, allocations: 282.6 kB / 0.7898 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.7279, allocations: 4.775 MB / 0.7945 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/0.7288, allocations: 1.412 MB / 0.7959 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003096/0.7319, allocations: 0.5468 MB / 0.7964 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008619/0.7328, allocations: 223.2 kB / 0.7966 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of SimCode: time 1.183e-06/0.7328, allocations: 0 / 0.7966 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.04044/0.7732, allocations: 25.91 MB / 0.8219 GB, free: 11.17 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: