Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6998/0.6998, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.67 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3006, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005954/0.3066, allocations: 6.052 MB / 0.5861 GB, free: 224 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1406/0.4473, allocations: 151.5 MB / 0.734 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.4484, allocations: 23.88 kB / 0.734 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007875/0.4493, allocations: 237.4 kB / 0.7343 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.4514, allocations: 0.6248 MB / 0.7349 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.4539, allocations: 1.277 MB / 0.7361 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.4562, allocations: 2.404 MB / 0.7385 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.4579, allocations: 1.58 MB / 0.74 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.4591, allocations: 1.043 MB / 0.741 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.4602, allocations: 1.183 MB / 0.7422 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.4605, allocations: 296 kB / 0.7425 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.4614, allocations: 0.6558 MB / 0.7431 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.4619, allocations: 0.6387 MB / 0.7437 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.4627, allocations: 1.17 MB / 0.7449 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.4651, allocations: 3.217 MB / 0.748 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4651, allocations: 4 kB / 0.748 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4651, allocations: 4 kB / 0.748 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.4651, allocations: 3.938 kB / 0.748 GB, free: 5.047 MB / 0.5762 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.004384/0.4695, allocations: 2.582 MB / 0.7505 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4695, allocations: 12.03 kB / 0.7506 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/0.4698, allocations: 312.2 kB / 0.7509 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.4847, allocations: 2.093 MB / 0.7529 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.4862, allocations: 1.192 MB / 0.7541 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4863, allocations: 164.3 kB / 0.7542 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.4866, allocations: 212 kB / 0.7544 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/0.4938, allocations: 3.158 MB / 0.7575 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.4938, allocations: 0 / 0.7575 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.4941, allocations: 88 kB / 0.7576 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.4941, allocations: 52 kB / 0.7576 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.5057, allocations: 4.103 MB / 0.7616 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.5182, allocations: 7.01 MB / 0.7685 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/0.5264, allocations: 2.688 MB / 0.7711 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/0.5304, allocations: 1.434 MB / 0.7725 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000655/0.531, allocations: 0.5038 MB / 0.773 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004474/0.5355, allocations: 1.699 MB / 0.7747 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 2.896e-06/0.5355, allocations: 0 / 0.7747 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01371/0.5493, allocations: 4.193 MB / 0.7788 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.5494, allocations: 201.9 kB / 0.779 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.5503, allocations: 0.8622 MB / 0.7798 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.5504, allocations: 57.7 kB / 0.7799 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.5509, allocations: 0.7112 MB / 0.7805 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.5514, allocations: 0.6236 MB / 0.7812 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006114/0.552, allocations: 351.3 kB / 0.7815 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.5521, allocations: 309.1 kB / 0.7818 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003932/0.556, allocations: 1.163 MB / 0.7829 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004059/0.5601, allocations: 1.363 MB / 0.7843 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/0.5679, allocations: 2.47 MB / 0.7867 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5679, allocations: 0 / 0.7867 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009067/0.577, allocations: 2.905 MB / 0.7895 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.577, allocations: 8 kB / 0.7895 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.577, allocations: 0 / 0.7895 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.5776, allocations: 88.83 kB / 0.7896 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/0.581, allocations: 0.5578 MB / 0.7901 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.5829, allocations: 1.646 MB / 0.7917 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.5855, allocations: 334.2 kB / 0.7921 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.5857, allocations: 87.91 kB / 0.7921 GB, free: 7.055 MB / 0.6231 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.0006589/0.5863, allocations: 399 kB / 0.7925 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.5867, allocations: 150.1 kB / 0.7927 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.597, allocations: 3.48 MB / 0.7961 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.597, allocations: 20 kB / 0.7961 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5971, allocations: 3.984 kB / 0.7961 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.5971, allocations: 7.969 kB / 0.7961 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.6093, allocations: 5.765 MB / 0.8017 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6093, allocations: 0 / 0.8017 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/0.6126, allocations: 0.5461 MB / 0.8023 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.613, allocations: 72.8 kB / 0.8023 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.6132, allocations: 75.91 kB / 0.8024 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.6149, allocations: 1.65 MB / 0.804 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6149, allocations: 0 / 0.804 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009153/0.624, allocations: 3.055 MB / 0.807 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/0.6247, allocations: 0.5024 MB / 0.8075 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.625, allocations: 43.98 kB / 0.8075 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/0.6276, allocations: 255.7 kB / 0.8078 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.6278, allocations: 129.8 kB / 0.8079 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.628, allocations: 79.92 kB / 0.808 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007222/0.6287, allocations: 0.6465 MB / 0.8086 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6287, allocations: 0 / 0.8086 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001248/0.63, allocations: 0.5919 MB / 0.8092 GB, free: 5.316 MB / 0.6387 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.01064/0.6406, allocations: 4.138 MB / 0.8132 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2026/0.8432, allocations: 3.412 MB / 0.8166 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8432, allocations: 0.7188 kB / 0.8166 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/0.8478, allocations: 1.652 MB / 0.8182 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.8493, allocations: 354.2 kB / 0.8185 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/0.8825, allocations: 15.83 MB / 0.834 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.8832, allocations: 1.376 MB / 0.8353 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00277/0.886, allocations: 0.5526 MB / 0.8359 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.8873, allocations: 0.8249 MB / 0.8367 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/0.8873, allocations: 0 / 0.8367 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4446/1.332, allocations: 38.58 MB / 0.8743 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.76, allocations: 21.53 kB / 0.8743 GB, free: 175.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)