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.001144/0.001144, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001137/0.001137, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6902/0.6902, allocations: 132.2 MB / 422.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 65.22 kB / 0.5014 GB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2942, allocations: 80.2 MB / 0.5797 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006021/0.3003, allocations: 6.028 MB / 0.5856 GB, free: 204 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.137/0.4373, allocations: 149.2 MB / 0.7312 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.4385, allocations: 23.88 kB / 0.7313 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007711/0.4393, allocations: 182.4 kB / 0.7314 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.4413, allocations: 0.5394 MB / 0.732 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.4438, allocations: 1.172 MB / 0.7331 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.446, allocations: 2.404 MB / 0.7355 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.4478, allocations: 1.58 MB / 0.737 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.4489, allocations: 1.055 MB / 0.738 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.4501, allocations: 1.185 MB / 0.7392 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.4505, allocations: 296 kB / 0.7395 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008975/0.4514, allocations: 0.6559 MB / 0.7401 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.4518, allocations: 0.6387 MB / 0.7407 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.4526, allocations: 1.178 MB / 0.7419 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.4549, allocations: 3.217 MB / 0.745 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4549, allocations: 0 / 0.745 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4549, allocations: 0 / 0.745 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.455, allocations: 0 / 0.745 GB, free: 7.695 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.004289/0.4592, allocations: 2.586 MB / 0.7476 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4593, allocations: 8.031 kB / 0.7476 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003014/0.4596, allocations: 308.2 kB / 0.7479 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.4742, allocations: 2.101 MB / 0.7499 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.4756, allocations: 1.196 MB / 0.7511 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4758, allocations: 164.3 kB / 0.7512 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.4761, allocations: 208 kB / 0.7514 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/0.4832, allocations: 3.158 MB / 0.7545 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.4832, allocations: 4 kB / 0.7545 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.4835, allocations: 92 kB / 0.7546 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.4835, allocations: 52 kB / 0.7547 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.4943, allocations: 4.099 MB / 0.7587 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.5065, allocations: 7.018 MB / 0.7655 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.5139, allocations: 2.685 MB / 0.7681 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/0.5175, allocations: 1.426 MB / 0.7695 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.5182, allocations: 0.5074 MB / 0.77 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004143/0.5223, allocations: 1.699 MB / 0.7717 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 3.136e-06/0.5224, allocations: 0 / 0.7717 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01231/0.5347, allocations: 4.189 MB / 0.7758 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.5348, allocations: 201.9 kB / 0.776 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/0.5357, allocations: 0.87 MB / 0.7768 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.5358, allocations: 61.64 kB / 0.7769 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.5363, allocations: 0.7034 MB / 0.7776 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.5367, allocations: 0.6313 MB / 0.7782 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006002/0.5373, allocations: 343.3 kB / 0.7785 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.5374, allocations: 305.1 kB / 0.7788 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/0.541, allocations: 1.167 MB / 0.7799 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/0.5446, allocations: 1.355 MB / 0.7813 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007087/0.5517, allocations: 2.473 MB / 0.7837 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5518, allocations: 4 kB / 0.7837 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008374/0.5601, allocations: 2.898 MB / 0.7865 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5602, allocations: 4 kB / 0.7865 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5602, allocations: 4 kB / 0.7865 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.5607, allocations: 88.83 kB / 0.7866 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/0.5641, allocations: 0.5616 MB / 0.7871 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.5658, allocations: 1.638 MB / 0.7887 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.5684, allocations: 334.3 kB / 0.7891 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.5686, allocations: 91.83 kB / 0.7892 GB, free: 9.695 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.0006424/0.5692, allocations: 397.5 kB / 0.7895 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.5695, allocations: 146.2 kB / 0.7897 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009658/0.5792, allocations: 3.488 MB / 0.7931 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5792, allocations: 20 kB / 0.7931 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5792, allocations: 0 / 0.7931 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5793, allocations: 11.95 kB / 0.7931 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.5905, allocations: 5.753 MB / 0.7987 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5905, allocations: 4 kB / 0.7987 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/0.5937, allocations: 0.5461 MB / 0.7993 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.5941, allocations: 80.72 kB / 0.7993 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/0.5943, allocations: 67.92 kB / 0.7994 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.5959, allocations: 1.666 MB / 0.801 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5959, allocations: 144 / 0.801 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00842/0.6043, allocations: 3.055 MB / 0.804 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.605, allocations: 0.5063 MB / 0.8045 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.6053, allocations: 43.84 kB / 0.8045 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.6077, allocations: 247.7 kB / 0.8048 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.6079, allocations: 121.8 kB / 0.8049 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.6081, allocations: 87.91 kB / 0.805 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006759/0.6088, allocations: 0.6427 MB / 0.8056 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6088, allocations: 0 / 0.8056 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001214/0.61, allocations: 0.5919 MB / 0.8062 GB, free: 7.953 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.00983/0.6199, allocations: 4.143 MB / 0.8102 GB, free: 4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01074/0.6306, allocations: 3.42 MB / 0.8136 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6306, allocations: 0 / 0.8136 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.1939/0.8245, allocations: 1.655 MB / 0.8152 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.8264, allocations: 356.7 kB / 0.8155 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/0.8619, allocations: 16.71 MB / 0.8319 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.8626, allocations: 1.375 MB / 0.8332 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002833/0.8654, allocations: 0.5433 MB / 0.8337 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.8667, allocations: 0.8205 MB / 0.8345 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.8667, allocations: 0 / 0.8345 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3189/1.186, allocations: 38.4 MB / 0.872 GB, free: 177.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.186, allocations: 293.1 kB / 0.8723 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.684, allocations: 4.609 kB / 0.8723 GB, free: 176.9 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)