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.001299/0.001299, allocations: 116.8 kB / 17.17 MB, free: 6 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.001374/0.001374, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.403/1.403, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8444/0.8444, allocations: 133.9 MB / 443.5 MB, free: 14.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",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.00192/0.00192, allocations: 67.86 kB / 0.6141 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1471, allocations: 85.85 MB / 0.6979 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006944/0.1541, allocations: 4.578 MB / 0.7024 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.3362, allocations: 154 MB / 0.8528 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.3369, allocations: 27.81 kB / 0.8528 GB, free: 15.78 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.3375, allocations: 190.1 kB / 0.853 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.339, allocations: 0.5125 MB / 0.8535 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.3409, allocations: 0.8357 MB / 0.8543 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.3422, allocations: 1.343 MB / 0.8556 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009301/0.3431, allocations: 0.6814 MB / 0.8563 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.3438, allocations: 0.5644 MB / 0.8568 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.3444, allocations: 0.5872 MB / 0.8574 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.3446, allocations: 144 kB / 0.8575 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.3455, allocations: 0.5269 MB / 0.858 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.3458, allocations: 354.9 kB / 0.8584 GB, free: 10.01 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.3463, allocations: 0.6566 MB / 0.859 GB, free: 9.348 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.3484, allocations: 1.897 MB / 0.8609 GB, free: 7.445 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3484, allocations: 0 / 0.8609 GB, free: 7.445 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3484, allocations: 0 / 0.8609 GB, free: 7.445 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.3484, allocations: 0 / 0.8609 GB, free: 7.445 MB / 0.67 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.002527/0.3509, allocations: 1.664 MB / 0.8625 GB, free: 5.727 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.351, allocations: 9.703 kB / 0.8625 GB, free: 5.719 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.884e-05/0.351, allocations: 34.48 kB / 0.8625 GB, free: 5.684 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.3512, allocations: 173.5 kB / 0.8627 GB, free: 5.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.3527, allocations: 263.8 kB / 0.863 GB, free: 5.246 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.354, allocations: 0.8446 MB / 0.8638 GB, free: 4.359 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.3541, allocations: 90.23 kB / 0.8639 GB, free: 4.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.3542, allocations: 112 kB / 0.864 GB, free: 4.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.3561, allocations: 1.134 MB / 0.8651 GB, free: 2.961 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3562, allocations: 0 / 0.8651 GB, free: 2.961 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3563, allocations: 52 kB / 0.8651 GB, free: 2.91 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.3563, allocations: 32 kB / 0.8652 GB, free: 2.879 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3583, allocations: 1.23 MB / 0.8664 GB, free: 1.641 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2997/0.658, allocations: 2.992 MB / 0.8693 GB, free: 168 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6593, allocations: 0.734 MB / 0.87 GB, free: 167.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.6598, allocations: 270.8 kB / 0.8703 GB, free: 167.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.6599, allocations: 29.02 kB / 0.8703 GB, free: 167.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008479/0.6608, allocations: 450.2 kB / 0.8707 GB, free: 167.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/0.6608, allocations: 0 / 0.8707 GB, free: 167.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=78): time 0.003359/0.6641, allocations: 1.144 MB / 0.8718 GB, free: 167.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.6642, allocations: 195.6 kB / 0.872 GB, free: 166.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.6656, allocations: 0.7134 MB / 0.8727 GB, free: 166.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.6657, allocations: 37.2 kB / 0.8728 GB, free: 166.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.6661, allocations: 0.514 MB / 0.8733 GB, free: 166.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.6663, allocations: 270.9 kB / 0.8735 GB, free: 166.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.6665, allocations: 143.9 kB / 0.8737 GB, free: 166 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.6666, allocations: 338.1 kB / 0.874 GB, free: 165.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.6671, allocations: 234.4 kB / 0.8742 GB, free: 165.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.6677, allocations: 352.8 kB / 0.8745 GB, free: 165.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.6688, allocations: 0.5755 MB / 0.8751 GB, free: 165.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6688, allocations: 1.828 kB / 0.8751 GB, free: 165.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001961/0.6708, allocations: 0.7955 MB / 0.8759 GB, free: 164.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6708, allocations: 6.781 kB / 0.8759 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6708, allocations: 4.094 kB / 0.8759 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.6714, allocations: 87 kB / 0.876 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.672, allocations: 155 kB / 0.8761 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.6738, allocations: 1.627 MB / 0.8777 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.6744, allocations: 85.06 kB / 0.8778 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.6745, allocations: 31.84 kB / 0.8778 GB, free: 163.3 MB / 0.67 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.0004069/0.6749, allocations: 283.9 kB / 0.8781 GB, free: 163.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.675, allocations: 95.52 kB / 0.8782 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.6776, allocations: 1.03 MB / 0.8792 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.6776, allocations: 8.562 kB / 0.8792 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6776, allocations: 4.562 kB / 0.8792 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6776, allocations: 4.391 kB / 0.8792 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.6789, allocations: 0.9927 MB / 0.8802 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6789, allocations: 4 kB / 0.8802 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.6796, allocations: 148.8 kB / 0.8803 GB, free: 162.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.68, allocations: 72.05 kB / 0.8804 GB, free: 162.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.6801, allocations: 24.3 kB / 0.8804 GB, free: 162.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.6817, allocations: 1.664 MB / 0.882 GB, free: 160.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6817, allocations: 0.5 kB / 0.882 GB, free: 160.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.6833, allocations: 0.893 MB / 0.8829 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.6836, allocations: 281 kB / 0.8832 GB, free: 160 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6837, allocations: 16.31 kB / 0.8832 GB, free: 160 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.6842, allocations: 60.3 kB / 0.8833 GB, free: 159.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6843, allocations: 64.14 kB / 0.8833 GB, free: 159.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.6844, allocations: 32.59 kB / 0.8833 GB, free: 159.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005419/0.6849, allocations: 0.5065 MB / 0.8838 GB, free: 159.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6849, allocations: 3.938 kB / 0.8838 GB, free: 159.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007897/0.6857, allocations: 344.6 kB / 0.8842 GB, free: 159.6 MB / 0.67 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.003405/0.6891, allocations: 1.93 MB / 0.8861 GB, free: 158.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.6904, allocations: 0.7546 MB / 0.8868 GB, free: 158.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6904, allocations: 3.156 kB / 0.8868 GB, free: 158.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.6912, allocations: 481 kB / 0.8873 GB, free: 157.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6922, allocations: 307.9 kB / 0.8875 GB, free: 157.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.7012, allocations: 6.757 MB / 0.8941 GB, free: 151.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.7016, allocations: 1.094 MB / 0.8952 GB, free: 150 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006493/0.7023, allocations: 272.3 kB / 0.8955 GB, free: 149.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.7027, allocations: 467.2 kB / 0.8959 GB, free: 149.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.7027, allocations: 0 / 0.8959 GB, free: 149.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.7464, allocations: 22.3 MB / 0.9177 GB, free: 127.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.79, allocations: 8.062 kB / 0.9177 GB, free: 127.3 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.651824340980966] Failed to read output from testmodel.py, exit status != 0: 14.305521873990074 14.045738552 13.695273568 Calling exit ...