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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0045/0.0045, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.00129/0.00129, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8531/0.8531, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.61 kB / 0.5857 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1368, allocations: 81.03 MB / 0.6648 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008134/0.145, allocations: 6.045 MB / 0.6707 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.445/0.59, allocations: 151.4 MB / 0.8186 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.5908, allocations: 23.59 kB / 0.8187 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.5915, allocations: 255.5 kB / 0.8189 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.5931, allocations: 0.6266 MB / 0.8195 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.5954, allocations: 1.283 MB / 0.8208 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.5975, allocations: 2.411 MB / 0.8231 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.5994, allocations: 1.584 MB / 0.8247 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.6006, allocations: 1.04 MB / 0.8257 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.602, allocations: 1.191 MB / 0.8269 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.6023, allocations: 299.4 kB / 0.8271 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.6033, allocations: 0.6824 MB / 0.8278 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005655/0.6039, allocations: 0.633 MB / 0.8284 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009976/0.6049, allocations: 1.178 MB / 0.8296 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.6081, allocations: 3.304 MB / 0.8328 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6081, allocations: 0 / 0.8328 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.426e-06/0.6081, allocations: 0 / 0.8328 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.6081, allocations: 3.938 kB / 0.8328 GB, free: 13.23 MB / 0.6075 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.004875/0.613, allocations: 2.648 MB / 0.8354 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.613, allocations: 17.39 kB / 0.8354 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003507/0.6134, allocations: 304.8 kB / 0.8357 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.6286, allocations: 2.103 MB / 0.8378 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.6304, allocations: 1.228 MB / 0.839 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.6305, allocations: 160.3 kB / 0.8391 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.6309, allocations: 209.1 kB / 0.8393 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007861/0.6387, allocations: 3.165 MB / 0.8424 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.6388, allocations: 2.344 kB / 0.8424 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.639, allocations: 85.34 kB / 0.8425 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.6391, allocations: 53.22 kB / 0.8425 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.6517, allocations: 4.104 MB / 0.8465 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.6661, allocations: 6.956 MB / 0.8533 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009323/0.6755, allocations: 2.681 MB / 0.8559 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/0.68, allocations: 1.434 MB / 0.8574 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007954/0.6808, allocations: 0.5113 MB / 0.8578 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004983/0.6858, allocations: 1.684 MB / 0.8595 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 3.316e-06/0.6858, allocations: 0 / 0.8595 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01505/0.7009, allocations: 4.209 MB / 0.8636 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.701, allocations: 205.9 kB / 0.8638 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.7022, allocations: 0.8623 MB / 0.8646 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.7024, allocations: 65.45 kB / 0.8647 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/0.703, allocations: 0.7168 MB / 0.8654 GB, free: 468 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/0.7036, allocations: 0.6664 MB / 0.8661 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007557/0.7044, allocations: 347.3 kB / 0.8664 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7045, allocations: 301.1 kB / 0.8667 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.7088, allocations: 1.171 MB / 0.8678 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/0.7133, allocations: 1.355 MB / 0.8691 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008829/0.7221, allocations: 2.47 MB / 0.8716 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.7222, allocations: 3.75 kB / 0.8716 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01035/0.7325, allocations: 2.91 MB / 0.8744 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.7326, allocations: 4 kB / 0.8744 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7326, allocations: 8.094 kB / 0.8744 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.7332, allocations: 89.97 kB / 0.8745 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003608/0.7368, allocations: 0.5578 MB / 0.875 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.7391, allocations: 1.642 MB / 0.8766 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.7419, allocations: 330.8 kB / 0.877 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.7421, allocations: 87.89 kB / 0.877 GB, free: 4.312 MB / 0.6387 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008718/0.743, allocations: 406.9 kB / 0.8774 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.7434, allocations: 151 kB / 0.8776 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.7551, allocations: 3.488 MB / 0.881 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.7551, allocations: 20 kB / 0.881 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.7551, allocations: 0 / 0.881 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.7552, allocations: 11.95 kB / 0.881 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.7692, allocations: 5.759 MB / 0.8866 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7692, allocations: 0 / 0.8866 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/0.7727, allocations: 0.5383 MB / 0.8872 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.7732, allocations: 76.78 kB / 0.8872 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.7734, allocations: 67.92 kB / 0.8873 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.7754, allocations: 1.674 MB / 0.8889 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7755, allocations: 0 / 0.8889 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.7856, allocations: 3.058 MB / 0.8919 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.7868, allocations: 0.5111 MB / 0.8924 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.7872, allocations: 39.89 kB / 0.8925 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004119/0.7914, allocations: 253.4 kB / 0.8927 GB, free: 4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.7918, allocations: 129 kB / 0.8928 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000358/0.7922, allocations: 87.91 kB / 0.8929 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001445/0.7936, allocations: 0.6427 MB / 0.8935 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7936, allocations: 0 / 0.8935 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002409/0.796, allocations: 0.5999 MB / 0.8941 GB, free: 2.539 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01922/0.8153, allocations: 4.166 MB / 0.8982 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0152/0.8305, allocations: 2.948 MB / 0.9011 GB, free: 11.56 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8305, allocations: 0 / 0.9011 GB, free: 11.56 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007791/0.8383, allocations: 1.665 MB / 0.9027 GB, free: 9.887 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.8404, allocations: 346.3 kB / 0.903 GB, free: 9.566 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05945/0.8998, allocations: 15.12 MB / 0.9178 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.9015, allocations: 1.365 MB / 0.9191 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004362/0.9058, allocations: 0.5507 MB / 0.9197 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002604/0.9085, allocations: 0.8154 MB / 0.9205 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/0.9085, allocations: 4 kB / 0.9205 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/1.023, allocations: 39.06 MB / 0.9586 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.12, allocations: 7.531 kB / 0.9586 GB, free: 0.7148 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)