Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.001054/0.001054, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000966/0.0009659, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.884/0.884, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 57.09 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1496, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005881/0.1555, allocations: 4.485 MB / 0.5889 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3737/0.5292, allocations: 150.6 MB / 0.7359 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008047/0.5301, allocations: 21.22 kB / 0.736 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.5309, allocations: 185.9 kB / 0.7361 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.5326, allocations: 0.4895 MB / 0.7366 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.5347, allocations: 0.8125 MB / 0.7374 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5363, allocations: 1.31 MB / 0.7387 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.5376, allocations: 0.9158 MB / 0.7396 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007803/0.5384, allocations: 0.5364 MB / 0.7401 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007786/0.5392, allocations: 0.5773 MB / 0.7407 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.5395, allocations: 141.6 kB / 0.7408 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.5405, allocations: 478.4 kB / 0.7413 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.5409, allocations: 351.5 kB / 0.7416 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.5416, allocations: 0.6495 MB / 0.7422 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.5434, allocations: 1.794 MB / 0.744 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5434, allocations: 2.031 kB / 0.744 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5434, allocations: 0 / 0.744 GB, free: 7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5434, allocations: 0 / 0.744 GB, free: 7 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.002244/0.5457, allocations: 1.593 MB / 0.7455 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5457, allocations: 10.16 kB / 0.7455 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.5459, allocations: 171.6 kB / 0.7457 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.5468, allocations: 216.4 kB / 0.7459 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.5478, allocations: 0.8112 MB / 0.7467 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.5479, allocations: 85.61 kB / 0.7468 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.548, allocations: 113.7 kB / 0.7469 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.5496, allocations: 1.129 MB / 0.748 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.5497, allocations: 6.656 kB / 0.748 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.5498, allocations: 46.84 kB / 0.7481 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5498, allocations: 28.38 kB / 0.7481 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.5516, allocations: 1.236 MB / 0.7493 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/0.5556, allocations: 3.023 MB / 0.7522 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5569, allocations: 0.766 MB / 0.753 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.5574, allocations: 302.6 kB / 0.7533 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.5575, allocations: 32.69 kB / 0.7533 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007974/0.5583, allocations: 447.4 kB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.485e-06/0.5583, allocations: 3.938 kB / 0.7537 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002833/0.5612, allocations: 1.147 MB / 0.7549 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.5613, allocations: 188.6 kB / 0.755 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.562, allocations: 0.6804 MB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.5621, allocations: 45.7 kB / 0.7557 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.5624, allocations: 0.5034 MB / 0.7562 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.5626, allocations: 260 kB / 0.7565 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.5629, allocations: 146.5 kB / 0.7566 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.563, allocations: 326 kB / 0.7569 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.5635, allocations: 237.9 kB / 0.7572 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.5641, allocations: 350.5 kB / 0.7575 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.5651, allocations: 0.5722 MB / 0.7581 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5651, allocations: 3.938 kB / 0.7581 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001747/0.5669, allocations: 0.794 MB / 0.7588 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5669, allocations: 8 kB / 0.7588 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5669, allocations: 0 / 0.7588 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.5675, allocations: 80.88 kB / 0.7589 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.5681, allocations: 147.8 kB / 0.7591 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.5701, allocations: 1.63 MB / 0.7607 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.5706, allocations: 89.16 kB / 0.7607 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.5707, allocations: 27.98 kB / 0.7608 GB, free: 7.57 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 (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 (84): * Single equations (assignments): 83 * 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.000349/0.5711, allocations: 277.7 kB / 0.761 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.5712, allocations: 90.91 kB / 0.7611 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.5734, allocations: 1.029 MB / 0.7621 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5734, allocations: 8 kB / 0.7621 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5735, allocations: 4.094 kB / 0.7621 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5735, allocations: 7.969 kB / 0.7621 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5745, allocations: 0.9815 MB / 0.7631 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5745, allocations: 3.984 kB / 0.7631 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.5751, allocations: 151.8 kB / 0.7632 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.5755, allocations: 68.8 kB / 0.7633 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.5756, allocations: 23.98 kB / 0.7633 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.5774, allocations: 1.662 MB / 0.765 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5774, allocations: 0 / 0.765 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5791, allocations: 0.8849 MB / 0.7658 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.5795, allocations: 279.6 kB / 0.7661 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5796, allocations: 19.94 kB / 0.7661 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.5801, allocations: 57.97 kB / 0.7662 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.5803, allocations: 56.92 kB / 0.7662 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.5803, allocations: 35.16 kB / 0.7663 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005672/0.5809, allocations: 0.4951 MB / 0.7667 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5809, allocations: 0 / 0.7667 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00075/0.5817, allocations: 326.9 kB / 0.767 GB, free: 0.8789 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 (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.003166/0.5848, allocations: 1.929 MB / 0.7689 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.5869, allocations: 0.967 MB / 0.7699 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5869, allocations: 4 kB / 0.7699 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.5878, allocations: 0.5009 MB / 0.7704 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5889, allocations: 304.5 kB / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.5996, allocations: 6.942 MB / 0.7774 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.6002, allocations: 1.083 MB / 0.7785 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007921/0.601, allocations: 270.8 kB / 0.7788 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/0.6015, allocations: 455.2 kB / 0.7792 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.6015, allocations: 0 / 0.7792 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/1.377, allocations: 21.61 MB / 0.8003 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.92, allocations: 6.812 kB / 0.8003 GB, free: 15.15 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)