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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 215.2 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8294/0.8294, allocations: 134 MB / 446.4 MB, free: 9.957 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 63.39 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1758, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006476/0.1823, allocations: 4.13 MB / 0.7064 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5441/0.7264, allocations: 132.7 MB / 0.836 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.7275, allocations: 29.03 kB / 0.836 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.7284, allocations: 191.7 kB / 0.8362 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.7304, allocations: 0.5195 MB / 0.8367 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.7326, allocations: 0.8574 MB / 0.8375 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.7344, allocations: 1.336 MB / 0.8388 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.7356, allocations: 0.6416 MB / 0.8395 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009419/0.7365, allocations: 0.5599 MB / 0.84 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.7374, allocations: 0.5051 MB / 0.8405 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.7378, allocations: 144 kB / 0.8406 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.739, allocations: 0.5167 MB / 0.8411 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.7394, allocations: 350.8 kB / 0.8415 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000758/0.7402, allocations: 0.5208 MB / 0.842 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.7427, allocations: 1.901 MB / 0.8438 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7427, allocations: 0 / 0.8438 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7427, allocations: 0 / 0.8438 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.7427, allocations: 0 / 0.8438 GB, free: 2.398 MB / 0.6075 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.002545/0.7452, allocations: 1.588 MB / 0.8454 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7453, allocations: 8.031 kB / 0.8454 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.7455, allocations: 173.5 kB / 0.8456 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.7469, allocations: 267.8 kB / 0.8458 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.7483, allocations: 0.7774 MB / 0.8466 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.7484, allocations: 87.23 kB / 0.8467 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.7485, allocations: 116 kB / 0.8468 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.7506, allocations: 1.389 MB / 0.8481 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.7506, allocations: 0 / 0.8481 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/0.7507, allocations: 48 kB / 0.8482 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.7507, allocations: 31.98 kB / 0.8482 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.7527, allocations: 1.187 MB / 0.8494 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005278/0.758, allocations: 2.65 MB / 0.852 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.7595, allocations: 0.7219 MB / 0.8527 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.7601, allocations: 271.9 kB / 0.8529 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.7601, allocations: 24.62 kB / 0.8529 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/0.7611, allocations: 0.5372 MB / 0.8535 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 2.905e-06/0.7611, allocations: 0 / 0.8535 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.003084/0.7642, allocations: 1.081 MB / 0.8545 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7643, allocations: 188.6 kB / 0.8547 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/0.7653, allocations: 0.7157 MB / 0.8554 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.7653, allocations: 41.7 kB / 0.8554 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.7658, allocations: 0.5107 MB / 0.8559 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.7661, allocations: 269.7 kB / 0.8562 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.7663, allocations: 142.6 kB / 0.8563 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.7665, allocations: 334 kB / 0.8567 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.767, allocations: 244.8 kB / 0.8569 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/0.7677, allocations: 475 kB / 0.8573 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7688, allocations: 0.5722 MB / 0.8579 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7688, allocations: 11.88 kB / 0.8579 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001902/0.7707, allocations: 0.7907 MB / 0.8587 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.7707, allocations: 8.094 kB / 0.8587 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7707, allocations: 7.938 kB / 0.8587 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.7713, allocations: 80.81 kB / 0.8588 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.772, allocations: 147.8 kB / 0.8589 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.7742, allocations: 1.52 MB / 0.8604 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.7748, allocations: 95.39 kB / 0.8605 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.7748, allocations: 31.98 kB / 0.8605 GB, free: 0.7031 MB / 0.6231 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.0004419/0.7753, allocations: 273.8 kB / 0.8608 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.7755, allocations: 95.38 kB / 0.8609 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.7779, allocations: 1.041 MB / 0.8619 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.7779, allocations: 12 kB / 0.8619 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7779, allocations: 0 / 0.8619 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.7779, allocations: 3.984 kB / 0.8619 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.7791, allocations: 0.8366 MB / 0.8627 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.7791, allocations: 0 / 0.8627 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.7797, allocations: 147.8 kB / 0.8629 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.7802, allocations: 72.78 kB / 0.8629 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.7802, allocations: 23.98 kB / 0.863 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.7823, allocations: 1.555 MB / 0.8645 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7823, allocations: 0 / 0.8645 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.7843, allocations: 0.8931 MB / 0.8653 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.7848, allocations: 203 kB / 0.8655 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.7849, allocations: 16 kB / 0.8656 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.7855, allocations: 50.45 kB / 0.8656 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.7856, allocations: 68.88 kB / 0.8657 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.7857, allocations: 35.97 kB / 0.8657 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007272/0.7864, allocations: 0.5068 MB / 0.8662 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7864, allocations: 0 / 0.8662 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000936/0.7874, allocations: 334.9 kB / 0.8665 GB, free: 10.37 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.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.004342/0.7917, allocations: 1.988 MB / 0.8685 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.7934, allocations: 0.7494 MB / 0.8692 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7934, allocations: 0 / 0.8692 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009137/0.7944, allocations: 480.2 kB / 0.8697 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.7956, allocations: 297 kB / 0.8699 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.8084, allocations: 6.762 MB / 0.8765 GB, free: 184 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.8091, allocations: 0.4966 MB / 0.877 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008523/0.8099, allocations: 278.8 kB / 0.8773 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/0.8106, allocations: 459.2 kB / 0.8777 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of SimCode: time 7.81e-07/0.8106, allocations: 3.938 kB / 0.8777 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06908/0.8797, allocations: 23.7 MB / 0.9009 GB, free: 7.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.94, allocations: 6.578 kB / 0.9009 GB, free: 7.426 MB / 0.67 GB " [Timeout remaining time 646] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.776084491983056] Failed to read output from testmodel.py, exit status != 0: 14.162649147212505 14.187363599 13.440108888 Calling exit ...