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.007175/0.007175, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001835/0.001835, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.09 kB / 0.5808 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1221, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00704/0.1292, allocations: 6.055 MB / 0.6651 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4402/0.5694, allocations: 151.4 MB / 0.813 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.5702, allocations: 21.94 kB / 0.813 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.5708, allocations: 245.2 kB / 0.8132 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.5723, allocations: 0.6159 MB / 0.8138 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.5743, allocations: 1.292 MB / 0.8151 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.576, allocations: 2.421 MB / 0.8175 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.5776, allocations: 1.582 MB / 0.819 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.5785, allocations: 1.043 MB / 0.82 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.5796, allocations: 1.192 MB / 0.8212 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.5799, allocations: 296.2 kB / 0.8215 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008718/0.5808, allocations: 0.6736 MB / 0.8221 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.5813, allocations: 0.6423 MB / 0.8228 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.5821, allocations: 1.174 MB / 0.8239 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.5847, allocations: 3.299 MB / 0.8271 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5847, allocations: 0 / 0.8271 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5848, allocations: 0 / 0.8271 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.981e-05/0.5848, allocations: 0 / 0.8271 GB, free: 3.781 MB / 0.5919 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.004808/0.5896, allocations: 2.593 MB / 0.8297 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5896, allocations: 7.531 kB / 0.8297 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000335/0.59, allocations: 305.3 kB / 0.83 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.6061, allocations: 2.091 MB / 0.832 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.6083, allocations: 1.225 MB / 0.8332 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.6084, allocations: 158.5 kB / 0.8333 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.6088, allocations: 212.9 kB / 0.8335 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00788/0.6167, allocations: 3.161 MB / 0.8366 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.6167, allocations: 0 / 0.8366 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.617, allocations: 85.94 kB / 0.8367 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.617, allocations: 52.62 kB / 0.8368 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.6292, allocations: 4.106 MB / 0.8408 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.6433, allocations: 6.926 MB / 0.8475 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008874/0.6522, allocations: 2.696 MB / 0.8502 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/0.6566, allocations: 1.427 MB / 0.8516 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007264/0.6573, allocations: 0.5074 MB / 0.8521 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004782/0.6621, allocations: 1.689 MB / 0.8537 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 3.877e-06/0.6621, allocations: 4 kB / 0.8537 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01493/0.6771, allocations: 4.196 MB / 0.8578 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6772, allocations: 201.9 kB / 0.858 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6783, allocations: 0.8622 MB / 0.8588 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.6785, allocations: 61.7 kB / 0.8589 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.679, allocations: 0.7035 MB / 0.8596 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.6796, allocations: 0.6312 MB / 0.8602 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000671/0.6802, allocations: 347.2 kB / 0.8605 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6804, allocations: 301.1 kB / 0.8608 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004276/0.6847, allocations: 1.167 MB / 0.862 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/0.6891, allocations: 1.362 MB / 0.8633 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008622/0.6978, allocations: 2.469 MB / 0.8657 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.6978, allocations: 7.938 kB / 0.8657 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01012/0.7079, allocations: 2.898 MB / 0.8685 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.708, allocations: 8 kB / 0.8686 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.708, allocations: 4.062 kB / 0.8686 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.7086, allocations: 84.77 kB / 0.8686 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/0.7123, allocations: 0.5617 MB / 0.8692 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.7145, allocations: 1.636 MB / 0.8708 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.7174, allocations: 338.2 kB / 0.8711 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.7177, allocations: 83.91 kB / 0.8712 GB, free: 12.2 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.0008139/0.7185, allocations: 401.5 kB / 0.8716 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.7189, allocations: 142.2 kB / 0.8717 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.7302, allocations: 3.481 MB / 0.8751 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.7302, allocations: 23.94 kB / 0.8751 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7302, allocations: 0 / 0.8751 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.7303, allocations: 15.95 kB / 0.8751 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.7438, allocations: 5.762 MB / 0.8808 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7438, allocations: 0 / 0.8808 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/0.7473, allocations: 0.5422 MB / 0.8813 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.7478, allocations: 76.78 kB / 0.8814 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.748, allocations: 67.92 kB / 0.8814 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.7498, allocations: 1.662 MB / 0.8831 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7498, allocations: 8 kB / 0.8831 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009612/0.7594, allocations: 3.046 MB / 0.886 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008343/0.7603, allocations: 0.5103 MB / 0.8865 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.7606, allocations: 39.84 kB / 0.8866 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/0.7633, allocations: 249.4 kB / 0.8868 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.7636, allocations: 129.8 kB / 0.8869 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.7638, allocations: 87.91 kB / 0.887 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008086/0.7646, allocations: 0.6349 MB / 0.8876 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7646, allocations: 0 / 0.8876 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001449/0.7661, allocations: 0.5919 MB / 0.8882 GB, free: 10.47 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.01122/0.7773, allocations: 4.151 MB / 0.8923 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009262/0.7866, allocations: 2.956 MB / 0.8952 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7866, allocations: 3.938 kB / 0.8952 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.7915, allocations: 1.658 MB / 0.8968 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.7931, allocations: 360.8 kB / 0.8971 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/0.8307, allocations: 15.05 MB / 0.9118 GB, free: 2.336 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.8317, allocations: 1.365 MB / 0.9132 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002549/0.8342, allocations: 0.5546 MB / 0.9137 GB, free: 384 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.8358, allocations: 0.8194 MB / 0.9145 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8358, allocations: 0 / 0.9145 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6753/1.511, allocations: 39.04 MB / 0.9526 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.05, allocations: 11.77 kB / 0.9526 GB, free: 8.75 MB / 0.7169 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)