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.001162/0.001162, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001123/0.001123, allocations: 197.3 kB / 16.26 MB, free: 6.625 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.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7999/0.7999, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 68.7 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1221, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006261/0.1284, allocations: 6.009 MB / 0.5899 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.325/0.4534, allocations: 149.2 MB / 0.7356 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.4544, allocations: 23.38 kB / 0.7356 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.4552, allocations: 185.6 kB / 0.7358 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.4569, allocations: 0.5258 MB / 0.7363 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.4592, allocations: 1.167 MB / 0.7374 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.4611, allocations: 2.408 MB / 0.7398 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.4626, allocations: 1.574 MB / 0.7413 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009066/0.4635, allocations: 1.054 MB / 0.7423 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.4645, allocations: 1.185 MB / 0.7435 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.4648, allocations: 298.5 kB / 0.7438 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.4655, allocations: 0.6492 MB / 0.7444 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.466, allocations: 0.6451 MB / 0.745 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007352/0.4667, allocations: 1.169 MB / 0.7462 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.4689, allocations: 3.219 MB / 0.7493 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.469, allocations: 7.188 kB / 0.7493 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.469, allocations: 0 / 0.7493 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.469, allocations: 0 / 0.7493 GB, free: 3.527 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.004505/0.4735, allocations: 2.592 MB / 0.7519 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4735, allocations: 8.031 kB / 0.7519 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000307/0.4739, allocations: 304.3 kB / 0.7522 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.4884, allocations: 2.097 MB / 0.7542 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.4899, allocations: 1.197 MB / 0.7554 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.49, allocations: 168.8 kB / 0.7555 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.4903, allocations: 208 kB / 0.7557 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007035/0.4974, allocations: 3.154 MB / 0.7588 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.4974, allocations: 0 / 0.7588 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.4977, allocations: 88 kB / 0.7589 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.4977, allocations: 52 kB / 0.7589 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.5086, allocations: 4.107 MB / 0.763 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.5211, allocations: 7.001 MB / 0.7698 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007556/0.5286, allocations: 2.688 MB / 0.7724 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/0.5323, allocations: 1.427 MB / 0.7738 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.533, allocations: 0.5074 MB / 0.7743 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004309/0.5373, allocations: 1.699 MB / 0.776 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.206e-06/0.5373, allocations: 0 / 0.776 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01289/0.5502, allocations: 4.197 MB / 0.7801 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.5503, allocations: 205.9 kB / 0.7803 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.5512, allocations: 0.8582 MB / 0.7811 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.5514, allocations: 57.7 kB / 0.7812 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.5518, allocations: 0.7074 MB / 0.7818 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/0.5523, allocations: 0.6313 MB / 0.7825 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/0.5529, allocations: 347.3 kB / 0.7828 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.553, allocations: 301.1 kB / 0.7831 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/0.5566, allocations: 1.171 MB / 0.7842 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/0.5604, allocations: 1.357 MB / 0.7855 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007163/0.5676, allocations: 2.469 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5676, allocations: 7.938 kB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008468/0.5761, allocations: 2.901 MB / 0.7908 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5761, allocations: 4 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.5761, allocations: 7.984 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.5767, allocations: 84.84 kB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.58, allocations: 0.5578 MB / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.5818, allocations: 1.634 MB / 0.793 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5844, allocations: 338.2 kB / 0.7934 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.5846, allocations: 87.89 kB / 0.7934 GB, free: 5.715 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.0007522/0.5853, allocations: 403.8 kB / 0.7938 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.5857, allocations: 146.3 kB / 0.794 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/0.5956, allocations: 3.483 MB / 0.7974 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.5956, allocations: 20 kB / 0.7974 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5956, allocations: 0 / 0.7974 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.5957, allocations: 15.89 kB / 0.7974 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6075, allocations: 5.765 MB / 0.803 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.6075, allocations: 0 / 0.803 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/0.6107, allocations: 0.5437 MB / 0.8036 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.6112, allocations: 84.77 kB / 0.8036 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.6114, allocations: 67.67 kB / 0.8037 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.6131, allocations: 1.655 MB / 0.8053 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6131, allocations: 4.062 kB / 0.8053 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008634/0.6217, allocations: 3.047 MB / 0.8083 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/0.6224, allocations: 0.5141 MB / 0.8088 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.6227, allocations: 47.84 kB / 0.8088 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/0.6252, allocations: 247.7 kB / 0.8091 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.6255, allocations: 125.8 kB / 0.8092 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.6257, allocations: 79.91 kB / 0.8093 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007659/0.6264, allocations: 0.6427 MB / 0.8099 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6264, allocations: 0 / 0.8099 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001385/0.6278, allocations: 0.5919 MB / 0.8105 GB, free: 3.98 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.01008/0.6379, allocations: 4.147 MB / 0.8145 GB, free: 12 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01108/0.649, allocations: 3.42 MB / 0.8179 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.649, allocations: 0 / 0.8179 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/0.6532, allocations: 1.661 MB / 0.8195 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.6547, allocations: 346.7 kB / 0.8198 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/0.6892, allocations: 16.72 MB / 0.8362 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000796/0.69, allocations: 1.367 MB / 0.8375 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002918/0.693, allocations: 0.5546 MB / 0.838 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.6944, allocations: 0.8232 MB / 0.8388 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.6944, allocations: 0 / 0.8388 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.187/1.881, allocations: 38.39 MB / 0.8763 GB, free: 215.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.882, allocations: 289.7 kB / 0.8766 GB, free: 214.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/4.512, allocations: 3 kB / 0.8766 GB, free: 214.8 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)