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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] 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.8076/0.8076, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.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.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.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: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 69.2 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007956/0.1625, allocations: 6.085 MB / 0.6937 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4687/0.6312, allocations: 151.9 MB / 0.8421 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.632, allocations: 20.91 kB / 0.8421 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.6326, allocations: 249.9 kB / 0.8423 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.6342, allocations: 0.6353 MB / 0.8429 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.6365, allocations: 1.289 MB / 0.8442 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.6385, allocations: 2.417 MB / 0.8466 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.6399, allocations: 1.14 MB / 0.8477 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.641, allocations: 1.06 MB / 0.8487 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.6422, allocations: 1.2 MB / 0.8499 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002575/0.6425, allocations: 296.7 kB / 0.8502 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.6434, allocations: 0.676 MB / 0.8508 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.6439, allocations: 0.6401 MB / 0.8514 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009184/0.6449, allocations: 1.171 MB / 0.8526 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.648, allocations: 3.312 MB / 0.8558 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.648, allocations: 0 / 0.8558 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.648, allocations: 0 / 0.8558 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.881e-05/0.648, allocations: 0 / 0.8558 GB, free: 1.199 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004802/0.6528, allocations: 2.653 MB / 0.8584 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6528, allocations: 10.12 kB / 0.8584 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003359/0.6532, allocations: 303.2 kB / 0.8587 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.6677, allocations: 2.115 MB / 0.8608 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.6699, allocations: 1.226 MB / 0.862 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.67, allocations: 160.4 kB / 0.8621 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.6703, allocations: 212 kB / 0.8623 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007612/0.678, allocations: 3.15 MB / 0.8654 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.678, allocations: 7.922 kB / 0.8654 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.6782, allocations: 95.98 kB / 0.8655 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.6783, allocations: 52 kB / 0.8656 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.6898, allocations: 4.099 MB / 0.8696 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.7045, allocations: 6.94 MB / 0.8763 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00785/0.7123, allocations: 2.528 MB / 0.8788 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/0.7162, allocations: 1.298 MB / 0.8801 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/0.717, allocations: 0.5036 MB / 0.8806 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004407/0.7214, allocations: 1.691 MB / 0.8822 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=195): time 3.386e-06/0.7214, allocations: 8.5 kB / 0.8822 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195): time 0.01323/0.7346, allocations: 4.205 MB / 0.8863 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.7347, allocations: 201.9 kB / 0.8865 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.7359, allocations: 0.8584 MB / 0.8874 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.7361, allocations: 57.7 kB / 0.8874 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.7367, allocations: 0.7246 MB / 0.8881 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005951/0.7373, allocations: 0.6594 MB / 0.8888 GB, free: 268 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006497/0.7379, allocations: 355.3 kB / 0.8891 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7381, allocations: 305.1 kB / 0.8894 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.7418, allocations: 1.171 MB / 0.8905 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.7458, allocations: 1.347 MB / 0.8919 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007662/0.7534, allocations: 2.473 MB / 0.8943 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.7534, allocations: 7.938 kB / 0.8943 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009128/0.7626, allocations: 2.91 MB / 0.8971 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.7626, allocations: 4 kB / 0.8971 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7626, allocations: 4 kB / 0.8971 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.7632, allocations: 80.84 kB / 0.8972 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/0.7665, allocations: 0.5612 MB / 0.8978 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.7686, allocations: 1.65 MB / 0.8994 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.7713, allocations: 332.3 kB / 0.8997 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.7715, allocations: 87.89 kB / 0.8998 GB, free: 4.781 MB / 0.6544 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.000852/0.7724, allocations: 405.4 kB / 0.9002 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.7727, allocations: 155 kB / 0.9003 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.7831, allocations: 3.48 MB / 0.9037 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.7831, allocations: 20 kB / 0.9037 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7831, allocations: 4 kB / 0.9037 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.7831, allocations: 15.95 kB / 0.9037 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.796, allocations: 5.763 MB / 0.9094 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.796, allocations: 0 / 0.9094 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/0.7993, allocations: 0.5461 MB / 0.9099 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.7997, allocations: 72.8 kB / 0.91 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.7999, allocations: 67.92 kB / 0.91 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.8019, allocations: 1.662 MB / 0.9117 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8019, allocations: 3.938 kB / 0.9117 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009006/0.811, allocations: 3.062 MB / 0.9146 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009856/0.8119, allocations: 0.5149 MB / 0.9152 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.8122, allocations: 43.89 kB / 0.9152 GB, free: 4.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/0.8147, allocations: 247.7 kB / 0.9154 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.815, allocations: 129.8 kB / 0.9156 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.8151, allocations: 83.92 kB / 0.9156 GB, free: 4.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008799/0.816, allocations: 0.6427 MB / 0.9163 GB, free: 3.605 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.816, allocations: 0 / 0.9163 GB, free: 3.605 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001516/0.8175, allocations: 0.596 MB / 0.9168 GB, free: 3.008 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.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.01109/0.8286, allocations: 4.163 MB / 0.9209 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008524/0.8372, allocations: 2.831 MB / 0.9237 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8372, allocations: 0 / 0.9237 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004342/0.8415, allocations: 1.54 MB / 0.9252 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.843, allocations: 337.8 kB / 0.9255 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/0.8783, allocations: 15.11 MB / 0.9403 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.8794, allocations: 1.369 MB / 0.9416 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002542/0.8819, allocations: 0.5615 MB / 0.9421 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/0.8834, allocations: 0.8194 MB / 0.9429 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of SimCode: time 8.81e-07/0.8834, allocations: 0 / 0.9429 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0771/0.9605, allocations: 39.2 MB / 0.9812 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.37, allocations: 9.375 kB / 0.9812 GB, free: 1.301 MB / 0.7325 GB " [Timeout remaining time 645] (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: 17.903252550866455] Failed to read output from testmodel.py, exit status != 0: 14.587840122170746 14.60175818 13.951005795 Calling exit ...