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.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.00126/0.00126, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002162/0.002162, allocations: 217.1 kB / 23.04 MB, free: 5.078 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.881/0.881, allocations: 134 MB / 447.2 MB, free: 10.26 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.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001828/0.001828, allocations: 70.55 kB / 0.6193 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1664, allocations: 85.9 MB / 0.7032 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008344/0.1748, allocations: 6.162 MB / 0.7092 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5747/0.7495, allocations: 155 MB / 0.8605 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.7509, allocations: 35.75 kB / 0.8606 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.752, allocations: 251.5 kB / 0.8608 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.7548, allocations: 0.6477 MB / 0.8614 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.7582, allocations: 1.309 MB / 0.8627 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.7618, allocations: 2.439 MB / 0.8651 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.7641, allocations: 1.128 MB / 0.8662 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.7664, allocations: 1.106 MB / 0.8673 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.7687, allocations: 1.21 MB / 0.8685 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008924/0.7696, allocations: 300 kB / 0.8687 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.7715, allocations: 0.7144 MB / 0.8694 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008448/0.7724, allocations: 0.6504 MB / 0.8701 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.7736, allocations: 1.174 MB / 0.8712 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.7777, allocations: 3.357 MB / 0.8745 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7777, allocations: 0 / 0.8745 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7777, allocations: 3.938 kB / 0.8745 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.156e-05/0.7778, allocations: 0 / 0.8745 GB, free: 6.992 MB / 0.6387 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.005602/0.7834, allocations: 2.597 MB / 0.877 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7834, allocations: 12.03 kB / 0.8771 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.876e-05/0.7835, allocations: 60.55 kB / 0.8771 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.7839, allocations: 308.3 kB / 0.8774 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.8013, allocations: 2.293 MB / 0.8796 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.8041, allocations: 1.176 MB / 0.8808 GB, free: 468 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.8042, allocations: 164.4 kB / 0.881 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.8046, allocations: 208 kB / 0.8812 GB, free: 92 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008516/0.8131, allocations: 3.154 MB / 0.8842 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.8132, allocations: 3.938 kB / 0.8842 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.8135, allocations: 88 kB / 0.8843 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.8135, allocations: 52 kB / 0.8844 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.8261, allocations: 4.11 MB / 0.8884 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/0.8417, allocations: 6.867 MB / 0.8951 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00891/0.8506, allocations: 2.521 MB / 0.8976 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004391/0.855, allocations: 1.301 MB / 0.8988 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.8556, allocations: 134.2 kB / 0.899 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005086/0.8607, allocations: 1.699 MB / 0.9006 GB, free: 11.94 MB / 0.67 GB Notification: Performance of pre-optimization done (n=195): time 5.3e-06/0.8607, allocations: 7.938 kB / 0.9006 GB, free: 11.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=195): time 0.01511/0.8758, allocations: 4.118 MB / 0.9046 GB, free: 7.809 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.8759, allocations: 205.9 kB / 0.9048 GB, free: 7.562 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.8777, allocations: 0.8906 MB / 0.9057 GB, free: 6.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002744/0.878, allocations: 57.7 kB / 0.9058 GB, free: 6.586 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.8789, allocations: 0.7248 MB / 0.9065 GB, free: 5.852 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/0.8797, allocations: 0.6738 MB / 0.9071 GB, free: 5.172 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008712/0.8806, allocations: 347.3 kB / 0.9075 GB, free: 4.828 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8807, allocations: 301.1 kB / 0.9077 GB, free: 4.531 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004243/0.885, allocations: 1.167 MB / 0.9089 GB, free: 3.363 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/0.8894, allocations: 1.351 MB / 0.9102 GB, free: 1.977 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008476/0.8979, allocations: 2.481 MB / 0.9126 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.8979, allocations: 0 / 0.9126 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01017/0.9081, allocations: 2.906 MB / 0.9155 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.9081, allocations: 8 kB / 0.9155 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9081, allocations: 4.062 kB / 0.9155 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.9087, allocations: 84.77 kB / 0.9156 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.9122, allocations: 0.5655 MB / 0.9161 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.9145, allocations: 1.535 MB / 0.9176 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.9174, allocations: 342.7 kB / 0.9179 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.9177, allocations: 83.91 kB / 0.918 GB, free: 9.824 MB / 0.6856 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.001143/0.9188, allocations: 405.5 kB / 0.9184 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/0.9194, allocations: 155 kB / 0.9185 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.9312, allocations: 3.483 MB / 0.922 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.9312, allocations: 20 kB / 0.922 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.9312, allocations: 0 / 0.922 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.9312, allocations: 7.969 kB / 0.922 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.946, allocations: 5.738 MB / 0.9276 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.9461, allocations: 0 / 0.9276 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/0.9494, allocations: 0.5461 MB / 0.9281 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.9499, allocations: 80.78 kB / 0.9282 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/0.9501, allocations: 67.86 kB / 0.9283 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.9521, allocations: 1.566 MB / 0.9298 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9521, allocations: 0 / 0.9298 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009821/0.9619, allocations: 3.066 MB / 0.9328 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.963, allocations: 448.1 kB / 0.9332 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/0.9634, allocations: 47.89 kB / 0.9333 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/0.9661, allocations: 254.1 kB / 0.9335 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.9664, allocations: 133.7 kB / 0.9336 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/0.9666, allocations: 79.92 kB / 0.9337 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001138/0.9677, allocations: 0.6588 MB / 0.9343 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.9677, allocations: 0 / 0.9343 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001814/0.9695, allocations: 0.5921 MB / 0.9349 GB, free: 8.273 MB / 0.7012 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.01228/0.9818, allocations: 4.165 MB / 0.939 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009425/0.9912, allocations: 2.835 MB / 0.9418 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.9912, allocations: 4.062 kB / 0.9418 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004814/0.9961, allocations: 1.536 MB / 0.9433 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.998, allocations: 346.3 kB / 0.9436 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04134/1.039, allocations: 15.19 MB / 0.9584 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/1.041, allocations: 1.373 MB / 0.9598 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003055/1.044, allocations: 0.5625 MB / 0.9603 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/1.046, allocations: 0.831 MB / 0.9611 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/1.046, allocations: 4 kB / 0.9611 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09335/1.139, allocations: 40.85 MB / 1.001 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.21, allocations: 8.172 kB / 1.001 GB, free: 4.746 MB / 0.7637 GB " [Timeout remaining time 644] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.03178893099539] Failed to read output from testmodel.py, exit status != 0: 16.492258726037107 16.50917071 15.727998864 Calling exit ...