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.006581/0.006581, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001139/0.001139, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7856/0.7856, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62.25 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 80.91 MB / 0.6641 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007024/0.1265, allocations: 6.068 MB / 0.6701 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4232/0.5497, allocations: 151.5 MB / 0.818 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/0.5507, allocations: 23.38 kB / 0.818 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.5514, allocations: 243.9 kB / 0.8182 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.5533, allocations: 0.6292 MB / 0.8188 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.5556, allocations: 1.284 MB / 0.8201 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.5574, allocations: 2.428 MB / 0.8224 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.5592, allocations: 1.588 MB / 0.824 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009724/0.5601, allocations: 1.059 MB / 0.825 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.5612, allocations: 1.196 MB / 0.8262 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.5615, allocations: 294.4 kB / 0.8265 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008718/0.5624, allocations: 0.6759 MB / 0.8271 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005036/0.5629, allocations: 0.6354 MB / 0.8278 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008952/0.5638, allocations: 1.175 MB / 0.8289 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.5667, allocations: 3.303 MB / 0.8321 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5667, allocations: 2.906 kB / 0.8321 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5667, allocations: 0 / 0.8321 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.694e-05/0.5667, allocations: 3.984 kB / 0.8321 GB, free: 14.05 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.004965/0.5717, allocations: 2.646 MB / 0.8347 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5717, allocations: 14.89 kB / 0.8347 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003529/0.5721, allocations: 305.1 kB / 0.835 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.5882, allocations: 2.103 MB / 0.8371 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.5901, allocations: 1.228 MB / 0.8383 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-05/0.5902, allocations: 164.3 kB / 0.8384 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.5906, allocations: 206.2 kB / 0.8386 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007928/0.5985, allocations: 3.165 MB / 0.8417 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.5985, allocations: 0 / 0.8417 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.5988, allocations: 91.5 kB / 0.8418 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.5989, allocations: 57.89 kB / 0.8419 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.6113, allocations: 4.098 MB / 0.8459 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.6255, allocations: 6.948 MB / 0.8527 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.6345, allocations: 2.692 MB / 0.8553 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.6389, allocations: 1.427 MB / 0.8567 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/0.6396, allocations: 0.5074 MB / 0.8572 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004832/0.6444, allocations: 1.691 MB / 0.8588 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 3.627e-06/0.6445, allocations: 0 / 0.8588 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01472/0.6592, allocations: 4.213 MB / 0.8629 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6593, allocations: 201.9 kB / 0.8631 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6603, allocations: 0.8623 MB / 0.864 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.6605, allocations: 58.27 kB / 0.864 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/0.6611, allocations: 0.7207 MB / 0.8647 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005503/0.6616, allocations: 0.6623 MB / 0.8654 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006872/0.6623, allocations: 351.3 kB / 0.8657 GB, free: 316 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.6624, allocations: 301.1 kB / 0.866 GB, free: 12 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/0.6666, allocations: 1.171 MB / 0.8672 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/0.6711, allocations: 1.352 MB / 0.8685 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00834/0.6794, allocations: 2.469 MB / 0.8709 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6794, allocations: 3.938 kB / 0.8709 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.00991/0.6893, allocations: 2.914 MB / 0.8737 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6894, allocations: 4 kB / 0.8737 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.6894, allocations: 4 kB / 0.8737 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.69, allocations: 84.84 kB / 0.8738 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/0.6938, allocations: 0.5617 MB / 0.8744 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.6959, allocations: 1.635 MB / 0.876 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.6988, allocations: 329.4 kB / 0.8763 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.699, allocations: 91.89 kB / 0.8764 GB, free: 5.176 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.0008191/0.6999, allocations: 405.5 kB / 0.8768 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.7002, allocations: 155 kB / 0.8769 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.7115, allocations: 3.482 MB / 0.8803 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.7115, allocations: 20.11 kB / 0.8803 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7115, allocations: 3.938 kB / 0.8803 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.7115, allocations: 11.95 kB / 0.8803 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.725, allocations: 5.759 MB / 0.886 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7251, allocations: 0 / 0.886 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003624/0.7287, allocations: 0.5422 MB / 0.8865 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.7292, allocations: 80.77 kB / 0.8866 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.7293, allocations: 71.92 kB / 0.8866 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.7312, allocations: 1.662 MB / 0.8883 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7312, allocations: 3.938 kB / 0.8883 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009867/0.7411, allocations: 3.054 MB / 0.8912 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/0.7421, allocations: 0.5188 MB / 0.8918 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.7424, allocations: 39.94 kB / 0.8918 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/0.7451, allocations: 251.7 kB / 0.892 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.7454, allocations: 129.8 kB / 0.8922 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.7456, allocations: 75.92 kB / 0.8922 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008365/0.7464, allocations: 0.6427 MB / 0.8929 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7464, allocations: 0 / 0.8929 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001465/0.7479, allocations: 0.6038 MB / 0.8934 GB, free: 3.41 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.01135/0.7592, allocations: 4.161 MB / 0.8975 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009411/0.7687, allocations: 2.952 MB / 0.9004 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7687, allocations: 0 / 0.9004 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004849/0.7735, allocations: 1.669 MB / 0.902 GB, free: 10.76 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.7752, allocations: 353.3 kB / 0.9024 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03743/0.8127, allocations: 15.11 MB / 0.9171 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009439/0.8136, allocations: 1.361 MB / 0.9184 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002543/0.8162, allocations: 0.5584 MB / 0.919 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/0.8178, allocations: 0.8155 MB / 0.9198 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.8178, allocations: 4 kB / 0.9198 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/0.8853, allocations: 39.05 MB / 0.9579 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.35, allocations: 12 kB / 0.9579 GB, free: 1.586 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)