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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001396/0.001396, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7068/0.7068, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 63.14 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1265, allocations: 80.2 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006837/0.1334, allocations: 6.026 MB / 0.5854 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3398/0.4732, allocations: 149.1 MB / 0.731 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.4739, allocations: 24.09 kB / 0.731 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.4745, allocations: 185.4 kB / 0.7312 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.4758, allocations: 0.5139 MB / 0.7317 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.4779, allocations: 1.139 MB / 0.7328 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.4797, allocations: 2.24 MB / 0.735 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.4813, allocations: 1.525 MB / 0.7365 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.4822, allocations: 0.8932 MB / 0.7374 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000902/0.4831, allocations: 1.091 MB / 0.7384 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.4833, allocations: 154.8 kB / 0.7386 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.4841, allocations: 0.5051 MB / 0.7391 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.4846, allocations: 0.498 MB / 0.7395 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007595/0.4853, allocations: 1.023 MB / 0.7405 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.4876, allocations: 3.105 MB / 0.7436 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4877, allocations: 0 / 0.7436 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4877, allocations: 2.781 kB / 0.7436 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.4877, allocations: 0 / 0.7436 GB, free: 9.547 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.004368/0.4921, allocations: 2.586 MB / 0.7461 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.4921, allocations: 6.906 kB / 0.7461 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003127/0.4924, allocations: 305.8 kB / 0.7464 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.5076, allocations: 2.097 MB / 0.7485 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.5092, allocations: 1.193 MB / 0.7496 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.5094, allocations: 164.3 kB / 0.7498 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.5097, allocations: 208 kB / 0.75 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007651/0.5173, allocations: 3.154 MB / 0.7531 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.5174, allocations: 4 kB / 0.7531 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.5176, allocations: 92.59 kB / 0.7531 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.5177, allocations: 56 kB / 0.7532 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.529, allocations: 4.091 MB / 0.7572 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.5422, allocations: 7.018 MB / 0.764 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007796/0.55, allocations: 2.687 MB / 0.7667 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003877/0.5539, allocations: 1.429 MB / 0.7681 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006925/0.5546, allocations: 0.5119 MB / 0.7686 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004472/0.5591, allocations: 1.687 MB / 0.7702 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 5.15e-06/0.5591, allocations: 4 kB / 0.7702 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01342/0.5726, allocations: 4.197 MB / 0.7743 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.5727, allocations: 209.9 kB / 0.7745 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5737, allocations: 0.8582 MB / 0.7754 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.5739, allocations: 61.27 kB / 0.7754 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.5744, allocations: 0.7074 MB / 0.7761 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/0.5749, allocations: 0.6312 MB / 0.7767 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006547/0.5755, allocations: 347.3 kB / 0.7771 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.5756, allocations: 301.1 kB / 0.7773 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/0.5794, allocations: 1.167 MB / 0.7785 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/0.5833, allocations: 1.359 MB / 0.7798 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/0.5909, allocations: 2.469 MB / 0.7822 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.5909, allocations: 3.938 kB / 0.7822 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009005/0.6, allocations: 2.905 MB / 0.7851 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6, allocations: 4 kB / 0.7851 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6, allocations: 4.062 kB / 0.7851 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.6006, allocations: 88.77 kB / 0.7852 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/0.604, allocations: 0.5578 MB / 0.7857 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.6059, allocations: 1.529 MB / 0.7872 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.6086, allocations: 334.2 kB / 0.7875 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.6088, allocations: 92.83 kB / 0.7876 GB, free: 13.24 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.0008188/0.6097, allocations: 401.5 kB / 0.788 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/0.61, allocations: 142.2 kB / 0.7881 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.6205, allocations: 3.484 MB / 0.7915 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6205, allocations: 20 kB / 0.7915 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6205, allocations: 0 / 0.7915 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.6205, allocations: 11.95 kB / 0.7915 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.6328, allocations: 5.767 MB / 0.7972 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.6328, allocations: 0 / 0.7972 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/0.6361, allocations: 0.5422 MB / 0.7977 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/0.6366, allocations: 92.72 kB / 0.7978 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/0.6368, allocations: 63.92 kB / 0.7979 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.6386, allocations: 1.55 MB / 0.7994 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6386, allocations: 0 / 0.7994 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009249/0.6478, allocations: 3.051 MB / 0.8024 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.6487, allocations: 0.5063 MB / 0.8028 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.649, allocations: 41.44 kB / 0.8029 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/0.6516, allocations: 258 kB / 0.8031 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.6518, allocations: 125.8 kB / 0.8033 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/0.652, allocations: 87.91 kB / 0.8033 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000781/0.6528, allocations: 0.6388 MB / 0.804 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6528, allocations: 0 / 0.804 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001731/0.6546, allocations: 0.5919 MB / 0.8045 GB, free: 11.62 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.01048/0.6651, allocations: 4.152 MB / 0.8086 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008508/0.6736, allocations: 2.948 MB / 0.8115 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6736, allocations: 0 / 0.8115 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/0.678, allocations: 1.658 MB / 0.8131 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.6795, allocations: 333.1 kB / 0.8134 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03728/0.7168, allocations: 16.71 MB / 0.8297 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008465/0.7177, allocations: 1.369 MB / 0.8311 GB, free: 232 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003217/0.7209, allocations: 0.5507 MB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.7224, allocations: 0.8194 MB / 0.8324 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/0.7224, allocations: 0 / 0.8324 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.669/1.391, allocations: 37.34 MB / 0.8689 GB, free: 217.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.392, allocations: 289.2 kB / 0.8691 GB, free: 217.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/4.206, allocations: 0.875 kB / 0.8691 GB, free: 217.4 MB / 0.67 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)