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.001515/0.001515, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001667/0.001667, allocations: 217.5 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.977 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.8028/0.8028, allocations: 134 MB / 446.4 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.00201/0.00201, allocations: 71.64 kB / 0.6185 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 85.9 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008196/0.1575, allocations: 6.171 MB / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4509/0.6084, allocations: 155 MB / 0.8598 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.6093, allocations: 31.75 kB / 0.8598 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.6102, allocations: 249.4 kB / 0.86 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.6122, allocations: 0.65 MB / 0.8607 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.615, allocations: 1.318 MB / 0.862 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.6179, allocations: 2.431 MB / 0.8643 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.6197, allocations: 1.133 MB / 0.8654 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.6212, allocations: 1.102 MB / 0.8665 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.6229, allocations: 1.21 MB / 0.8677 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005885/0.6235, allocations: 300 kB / 0.868 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.6249, allocations: 0.7111 MB / 0.8687 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.6255, allocations: 0.6504 MB / 0.8693 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.6265, allocations: 1.178 MB / 0.8705 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.6303, allocations: 3.349 MB / 0.8737 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6303, allocations: 4 kB / 0.8737 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.436e-06/0.6303, allocations: 11.92 kB / 0.8737 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.077e-05/0.6304, allocations: 0 / 0.8737 GB, free: 6.965 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.005736/0.6361, allocations: 2.597 MB / 0.8763 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.6361, allocations: 8.031 kB / 0.8763 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003742/0.6365, allocations: 304.3 kB / 0.8766 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.6546, allocations: 2.305 MB / 0.8788 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.657, allocations: 1.169 MB / 0.88 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.6571, allocations: 160.4 kB / 0.8801 GB, free: 344 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.6575, allocations: 208 kB / 0.8803 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008092/0.6656, allocations: 3.158 MB / 0.8834 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.6656, allocations: 3.938 kB / 0.8834 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.6659, allocations: 92 kB / 0.8835 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.6659, allocations: 52 kB / 0.8835 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.678, allocations: 4.099 MB / 0.8876 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.6926, allocations: 6.872 MB / 0.8943 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/0.7008, allocations: 2.531 MB / 0.8967 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004102/0.7049, allocations: 1.302 MB / 0.898 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.7056, allocations: 130.3 kB / 0.8981 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004727/0.7103, allocations: 1.695 MB / 0.8998 GB, free: 11.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=195): time 3.446e-06/0.7103, allocations: 0 / 0.8998 GB, free: 11.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=195): time 0.01421/0.7245, allocations: 4.134 MB / 0.9038 GB, free: 7.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.7246, allocations: 201.9 kB / 0.904 GB, free: 7.598 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.7259, allocations: 0.8867 MB / 0.9049 GB, free: 6.688 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.7261, allocations: 57.7 kB / 0.9049 GB, free: 6.625 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.7268, allocations: 0.7326 MB / 0.9057 GB, free: 5.883 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/0.7274, allocations: 0.67 MB / 0.9063 GB, free: 5.207 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006412/0.7281, allocations: 347.3 kB / 0.9066 GB, free: 4.863 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7282, allocations: 305.1 kB / 0.9069 GB, free: 4.562 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003951/0.7321, allocations: 1.163 MB / 0.9081 GB, free: 3.398 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/0.7364, allocations: 1.351 MB / 0.9094 GB, free: 2.012 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008167/0.7445, allocations: 2.473 MB / 0.9118 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7445, allocations: 7.938 kB / 0.9118 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009747/0.7543, allocations: 2.91 MB / 0.9146 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.7543, allocations: 5.719 kB / 0.9147 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7543, allocations: 4 kB / 0.9147 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.755, allocations: 88.83 kB / 0.9147 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/0.7586, allocations: 0.5616 MB / 0.9153 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.7608, allocations: 1.532 MB / 0.9168 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.7637, allocations: 338.7 kB / 0.9171 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.7639, allocations: 83.91 kB / 0.9172 GB, free: 9.863 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.0008997/0.7648, allocations: 397.5 kB / 0.9176 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.7651, allocations: 162.6 kB / 0.9177 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.7761, allocations: 3.476 MB / 0.9211 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.7761, allocations: 20 kB / 0.9211 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7761, allocations: 0 / 0.9211 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.7762, allocations: 15.95 kB / 0.9212 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.79, allocations: 5.742 MB / 0.9268 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.79, allocations: 4 kB / 0.9268 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/0.7935, allocations: 0.546 MB / 0.9273 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/0.794, allocations: 76.72 kB / 0.9274 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/0.7942, allocations: 71.92 kB / 0.9274 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.7963, allocations: 1.559 MB / 0.929 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.7963, allocations: 3.938 kB / 0.929 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009827/0.8062, allocations: 3.07 MB / 0.932 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.8073, allocations: 452.1 kB / 0.9324 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.8076, allocations: 43.89 kB / 0.9324 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/0.8102, allocations: 241.3 kB / 0.9327 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.8105, allocations: 133.7 kB / 0.9328 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/0.8107, allocations: 87.91 kB / 0.9329 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009327/0.8116, allocations: 0.6549 MB / 0.9335 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8116, allocations: 0 / 0.9335 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001505/0.8131, allocations: 0.6 MB / 0.9341 GB, free: 8.309 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.01196/0.8251, allocations: 4.161 MB / 0.9382 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009125/0.8342, allocations: 2.838 MB / 0.9409 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8342, allocations: 0 / 0.9409 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00479/0.839, allocations: 1.533 MB / 0.9424 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.8407, allocations: 348.7 kB / 0.9428 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03878/0.8795, allocations: 15.18 MB / 0.9576 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.8806, allocations: 1.377 MB / 0.9589 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002478/0.8831, allocations: 0.5548 MB / 0.9595 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.8846, allocations: 0.8349 MB / 0.9603 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8846, allocations: 0 / 0.9603 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08645/0.9711, allocations: 40.82 MB / 1 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.58, allocations: 2.188 kB / 1 GB, free: 4.816 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: 19.126791869988665] Failed to read output from testmodel.py, exit status != 0: 15.809723503189161 15.825891351 15.192466071 Calling exit ...