Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.0007586/0.0007585, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008585/0.0008586, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 12 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3865, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004274/0.3908, allocations: 3.872 MB / 0.5869 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.5361, allocations: 136.8 MB / 0.7205 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.5368, allocations: 19.88 kB / 0.7206 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.5373, allocations: 138.9 kB / 0.7207 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5384, allocations: 408.7 kB / 0.7211 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.5399, allocations: 0.622 MB / 0.7217 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.541, allocations: 1.132 MB / 0.7228 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000813/0.5418, allocations: 0.7018 MB / 0.7235 GB, free: 460 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.5422, allocations: 334.3 kB / 0.7238 GB, free: 124 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.5426, allocations: 373.9 kB / 0.7241 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.5427, allocations: 24 kB / 0.7242 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.5433, allocations: 339.6 kB / 0.7245 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.5435, allocations: 187.1 kB / 0.7247 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.5437, allocations: 221 kB / 0.7249 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.5448, allocations: 1.321 MB / 0.7262 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5448, allocations: 4 kB / 0.7262 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5448, allocations: 0 / 0.7262 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.5448, allocations: 0 / 0.7262 GB, free: 13.66 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001988/0.5468, allocations: 1.352 MB / 0.7275 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5469, allocations: 8.031 kB / 0.7275 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.5471, allocations: 173.3 kB / 0.7277 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.548, allocations: 226.1 kB / 0.7279 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/0.549, allocations: 0.7818 MB / 0.7286 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.5491, allocations: 86.3 kB / 0.7287 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5492, allocations: 112 kB / 0.7288 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5509, allocations: 1.13 MB / 0.7299 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5509, allocations: 3.953 kB / 0.7299 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.551, allocations: 55.94 kB / 0.73 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.5511, allocations: 28 kB / 0.73 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.5529, allocations: 1.23 MB / 0.7312 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.557, allocations: 3.05 MB / 0.7342 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.5583, allocations: 0.7726 MB / 0.735 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.5588, allocations: 290.7 kB / 0.7352 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.5589, allocations: 32.67 kB / 0.7353 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007527/0.5596, allocations: 451.3 kB / 0.7357 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.5596, allocations: 0 / 0.7357 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002621/0.5623, allocations: 1.144 MB / 0.7368 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.5624, allocations: 196.5 kB / 0.737 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.5631, allocations: 0.6881 MB / 0.7377 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.5632, allocations: 37.7 kB / 0.7377 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.5636, allocations: 0.4957 MB / 0.7382 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.5638, allocations: 260.2 kB / 0.7384 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5638, allocations: 16 kB / 0.7385 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5639, allocations: 334 kB / 0.7388 GB, free: 392 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.5643, allocations: 237.9 kB / 0.739 GB, free: 152 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.5649, allocations: 346.6 kB / 0.7393 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.5654, allocations: 294.9 kB / 0.7396 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5654, allocations: 0 / 0.7396 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0016/0.567, allocations: 0.794 MB / 0.7404 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.567, allocations: 12.09 kB / 0.7404 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.567, allocations: 0 / 0.7404 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005479/0.5676, allocations: 84.77 kB / 0.7405 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.5682, allocations: 151.8 kB / 0.7406 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.5701, allocations: 1.52 MB / 0.7421 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.5707, allocations: 87.25 kB / 0.7422 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.5707, allocations: 27.98 kB / 0.7422 GB, free: 12.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000418/0.5712, allocations: 279.1 kB / 0.7425 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5713, allocations: 98.94 kB / 0.7426 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.5734, allocations: 1.039 MB / 0.7436 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5734, allocations: 8 kB / 0.7436 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5734, allocations: 0 / 0.7436 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5734, allocations: 3.984 kB / 0.7436 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.5745, allocations: 0.9854 MB / 0.7446 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5745, allocations: 0 / 0.7446 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.5751, allocations: 155.8 kB / 0.7447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.5756, allocations: 84.86 kB / 0.7448 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.5756, allocations: 23.98 kB / 0.7448 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.5772, allocations: 1.544 MB / 0.7463 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5772, allocations: 3.984 kB / 0.7463 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.5789, allocations: 0.8927 MB / 0.7472 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5792, allocations: 287.5 kB / 0.7475 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5793, allocations: 20 kB / 0.7475 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.5798, allocations: 71.84 kB / 0.7476 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5799, allocations: 60.91 kB / 0.7476 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.58, allocations: 35.98 kB / 0.7477 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005543/0.5806, allocations: 491 kB / 0.7481 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.273e-06/0.5806, allocations: 0 / 0.7481 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007656/0.5814, allocations: 334.9 kB / 0.7484 GB, free: 6.043 MB / 0.5762 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00299/0.5843, allocations: 1.926 MB / 0.7503 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.5857, allocations: 0.7728 MB / 0.7511 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5857, allocations: 0 / 0.7511 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.5865, allocations: 0.5042 MB / 0.7516 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5876, allocations: 270.1 kB / 0.7518 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/0.5969, allocations: 5.516 MB / 0.7572 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.5975, allocations: 1.082 MB / 0.7583 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008265/0.5984, allocations: 270.8 kB / 0.7585 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/0.5989, allocations: 451.2 kB / 0.759 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.5989, allocations: 7.938 kB / 0.759 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.6386, allocations: 21.75 MB / 0.7802 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6388, allocations: 271 kB / 0.7805 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.9, allocations: 3.5 kB / 0.7805 GB, free: 5.586 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: