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.0009657/0.0009657, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009521/0.000952, allocations: 199.7 kB / 16.14 MB, free: 6.656 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7943/0.7943, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 68.33 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006237/0.1254, allocations: 6.021 MB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3197/0.4452, allocations: 149.1 MB / 0.7353 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.4458, allocations: 22.84 kB / 0.7353 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.4463, allocations: 178.7 kB / 0.7355 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.4476, allocations: 0.5192 MB / 0.736 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.4494, allocations: 1.136 MB / 0.7371 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.451, allocations: 2.228 MB / 0.7393 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.4524, allocations: 1.531 MB / 0.7408 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.4532, allocations: 0.8936 MB / 0.7417 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.4541, allocations: 1.089 MB / 0.7427 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.4543, allocations: 148.2 kB / 0.7429 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.4551, allocations: 0.5081 MB / 0.7434 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.4554, allocations: 0.497 MB / 0.7438 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006767/0.4561, allocations: 1.028 MB / 0.7448 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.4581, allocations: 3.102 MB / 0.7479 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4581, allocations: 4 kB / 0.7479 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4581, allocations: 2.625 kB / 0.7479 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.4581, allocations: 0 / 0.7479 GB, free: 4.137 MB / 0.5606 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.004222/0.4624, allocations: 2.589 MB / 0.7504 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4624, allocations: 8.781 kB / 0.7504 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.4627, allocations: 301.4 kB / 0.7507 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.4773, allocations: 2.096 MB / 0.7528 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.4788, allocations: 1.197 MB / 0.7539 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.246e-05/0.4789, allocations: 164.4 kB / 0.7541 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.4792, allocations: 208 kB / 0.7543 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007234/0.4864, allocations: 3.155 MB / 0.7574 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.4865, allocations: 0 / 0.7574 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.4867, allocations: 95.94 kB / 0.7574 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.4867, allocations: 52 kB / 0.7575 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.4979, allocations: 4.095 MB / 0.7615 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.5102, allocations: 7.013 MB / 0.7683 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.5176, allocations: 2.696 MB / 0.771 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/0.5213, allocations: 1.423 MB / 0.7724 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.522, allocations: 0.5033 MB / 0.7729 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00429/0.5263, allocations: 1.695 MB / 0.7745 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.466e-06/0.5263, allocations: 7.938 kB / 0.7745 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.0128/0.5391, allocations: 4.193 MB / 0.7786 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.5392, allocations: 201.9 kB / 0.7788 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/0.5402, allocations: 0.8621 MB / 0.7797 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.5403, allocations: 61.7 kB / 0.7797 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.5408, allocations: 0.7065 MB / 0.7804 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.5413, allocations: 0.6352 MB / 0.781 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.5419, allocations: 343.3 kB / 0.7813 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.542, allocations: 305.1 kB / 0.7816 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/0.5456, allocations: 1.171 MB / 0.7828 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.5492, allocations: 1.351 MB / 0.7841 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007037/0.5563, allocations: 2.469 MB / 0.7865 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5563, allocations: 3.938 kB / 0.7865 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008353/0.5647, allocations: 2.909 MB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5647, allocations: 4 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5647, allocations: 4 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.5653, allocations: 88.83 kB / 0.7894 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.5685, allocations: 0.5617 MB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.5703, allocations: 1.52 MB / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/0.573, allocations: 338.2 kB / 0.7918 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.5732, allocations: 87.91 kB / 0.7919 GB, free: 7.258 MB / 0.6075 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.0007872/0.574, allocations: 400.3 kB / 0.7923 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.5743, allocations: 146.2 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009725/0.584, allocations: 3.481 MB / 0.7958 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.5841, allocations: 20 kB / 0.7958 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5841, allocations: 7.984 kB / 0.7958 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.5841, allocations: 7.969 kB / 0.7958 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.5957, allocations: 5.757 MB / 0.8015 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5957, allocations: 0.875 kB / 0.8015 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/0.5989, allocations: 0.5461 MB / 0.802 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.5994, allocations: 88.72 kB / 0.8021 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.5996, allocations: 67.92 kB / 0.8021 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.6011, allocations: 1.553 MB / 0.8037 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6011, allocations: 4.031 kB / 0.8037 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008544/0.6097, allocations: 3.05 MB / 0.8066 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.6104, allocations: 0.5102 MB / 0.8071 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.6106, allocations: 43.94 kB / 0.8072 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/0.6131, allocations: 243.9 kB / 0.8074 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.6134, allocations: 129.8 kB / 0.8075 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.6136, allocations: 87.91 kB / 0.8076 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007231/0.6143, allocations: 0.6427 MB / 0.8083 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6143, allocations: 0 / 0.8083 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001328/0.6156, allocations: 0.588 MB / 0.8088 GB, free: 5.641 MB / 0.6231 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.009956/0.6256, allocations: 4.15 MB / 0.8129 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007951/0.6336, allocations: 2.948 MB / 0.8158 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6336, allocations: 0 / 0.8158 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.6377, allocations: 1.654 MB / 0.8174 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.639, allocations: 326.7 kB / 0.8177 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/0.6736, allocations: 16.72 MB / 0.834 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.6744, allocations: 1.377 MB / 0.8354 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002807/0.6772, allocations: 0.5468 MB / 0.8359 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.6786, allocations: 0.8165 MB / 0.8367 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.6786, allocations: 4 kB / 0.8367 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8821/1.561, allocations: 37.34 MB / 0.8732 GB, free: 211.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/1.561, allocations: 293 kB / 0.8734 GB, free: 211.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/4.392, allocations: 0 / 0.8734 GB, free: 211.5 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)