Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001359/0.001359, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001477/0.001477, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.828 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.8559/0.8559, 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.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.002161/0.002161, allocations: 71.14 kB / 0.6185 GB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1728, allocations: 85.92 MB / 0.7024 GB, free: 1.094 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.0103/0.1831, allocations: 4.472 MB / 0.7067 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5687/0.7519, allocations: 132.9 MB / 0.8365 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007991/0.7527, allocations: 25.25 kB / 0.8365 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.7533, allocations: 199.1 kB / 0.8367 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.7551, allocations: 0.5902 MB / 0.8373 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.7574, allocations: 0.9618 MB / 0.8382 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.759, allocations: 1.581 MB / 0.8398 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.7602, allocations: 0.7945 MB / 0.8406 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.761, allocations: 0.7279 MB / 0.8413 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007765/0.7618, allocations: 0.6451 MB / 0.8419 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.7621, allocations: 192 kB / 0.8421 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.7633, allocations: 0.5549 MB / 0.8426 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.7637, allocations: 446.6 kB / 0.843 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/0.7643, allocations: 0.6491 MB / 0.8437 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.7669, allocations: 2.384 MB / 0.846 GB, free: 216 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7669, allocations: 4 kB / 0.846 GB, free: 212 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7669, allocations: 0 / 0.846 GB, free: 212 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.7669, allocations: 0 / 0.846 GB, free: 212 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002976/0.7699, allocations: 1.824 MB / 0.8478 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7699, allocations: 8.031 kB / 0.8478 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.7702, allocations: 215.6 kB / 0.848 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.7729, allocations: 387.6 kB / 0.8484 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.7745, allocations: 0.8753 MB / 0.8492 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.7747, allocations: 167.3 kB / 0.8494 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.7748, allocations: 140 kB / 0.8495 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.7774, allocations: 1.749 MB / 0.8512 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.7774, allocations: 0 / 0.8512 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.7776, allocations: 56 kB / 0.8513 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.7776, allocations: 36 kB / 0.8513 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.7799, allocations: 1.451 MB / 0.8527 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.7857, allocations: 3.439 MB / 0.8561 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.7871, allocations: 0.854 MB / 0.8569 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.7877, allocations: 332.8 kB / 0.8572 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.7878, allocations: 36.95 kB / 0.8573 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.7888, allocations: 0.6692 MB / 0.8579 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 3.286e-06/0.7888, allocations: 0 / 0.8579 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003263/0.7921, allocations: 1.302 MB / 0.8592 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7922, allocations: 192.9 kB / 0.8594 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.7932, allocations: 0.7942 MB / 0.8602 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.7933, allocations: 45.7 kB / 0.8602 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.7938, allocations: 0.5952 MB / 0.8608 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.7941, allocations: 333.2 kB / 0.8611 GB, free: 336 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.7943, allocations: 174.6 kB / 0.8613 GB, free: 156 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7945, allocations: 341.9 kB / 0.8616 GB, free: 15.81 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.7951, allocations: 305.8 kB / 0.8619 GB, free: 15.51 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.7959, allocations: 0.5491 MB / 0.8624 GB, free: 14.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.7972, allocations: 0.7422 MB / 0.8632 GB, free: 14.15 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7972, allocations: 0 / 0.8632 GB, free: 14.15 MB / 0.6388 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002109/0.7993, allocations: 0.978 MB / 0.8641 GB, free: 13.16 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7993, allocations: 8 kB / 0.8641 GB, free: 13.15 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7993, allocations: 0 / 0.8641 GB, free: 13.15 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.7999, allocations: 88.77 kB / 0.8642 GB, free: 13.06 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.8006, allocations: 191.7 kB / 0.8644 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.8027, allocations: 1.525 MB / 0.8659 GB, free: 11.23 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.8033, allocations: 107.3 kB / 0.866 GB, free: 11.12 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.8034, allocations: 39.97 kB / 0.866 GB, free: 11.09 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0005473/0.8039, allocations: 323.8 kB / 0.8663 GB, free: 10.76 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.8041, allocations: 103.3 kB / 0.8664 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.8069, allocations: 1.294 MB / 0.8677 GB, free: 9.355 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.8069, allocations: 15.94 kB / 0.8677 GB, free: 9.34 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.8069, allocations: 4 kB / 0.8677 GB, free: 9.336 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.8069, allocations: 7.969 kB / 0.8677 GB, free: 9.328 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.8109, allocations: 2.309 MB / 0.87 GB, free: 6.965 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8109, allocations: 0 / 0.87 GB, free: 6.965 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/0.8116, allocations: 191.4 kB / 0.8701 GB, free: 6.781 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/0.812, allocations: 68.78 kB / 0.8702 GB, free: 6.711 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.8121, allocations: 31.98 kB / 0.8702 GB, free: 6.68 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.814, allocations: 1.559 MB / 0.8718 GB, free: 4.996 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.814, allocations: 4.031 kB / 0.8718 GB, free: 4.992 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.8162, allocations: 1.131 MB / 0.8729 GB, free: 3.84 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.8167, allocations: 250.9 kB / 0.8731 GB, free: 3.594 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.8168, allocations: 23.95 kB / 0.8731 GB, free: 3.57 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/0.8175, allocations: 63.94 kB / 0.8732 GB, free: 3.508 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.8177, allocations: 72.86 kB / 0.8733 GB, free: 3.438 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.8178, allocations: 39.97 kB / 0.8733 GB, free: 3.398 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0008287/0.8186, allocations: 0.5771 MB / 0.8739 GB, free: 2.828 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8186, allocations: 4 kB / 0.8739 GB, free: 2.824 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001101/0.8197, allocations: 406.6 kB / 0.8743 GB, free: 2.426 MB / 0.6388 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 (107): * Single equations (assignments): 104 * 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.004406/0.8241, allocations: 2.205 MB / 0.8764 GB, free: 460 kB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.826, allocations: 0.8978 MB / 0.8773 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.826, allocations: 4 kB / 0.8773 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.827, allocations: 0.5392 MB / 0.8778 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.8283, allocations: 307.5 kB / 0.8781 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.8427, allocations: 8.031 MB / 0.886 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.8434, allocations: 0.5781 MB / 0.8865 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009422/0.8444, allocations: 299.9 kB / 0.8868 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008402/0.8452, allocations: 0.5617 MB / 0.8874 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.8452, allocations: 0 / 0.8874 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07509/0.9203, allocations: 27.64 MB / 0.9143 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.05, allocations: 5.344 kB / 0.9144 GB, free: 9.621 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.843015992082655] Failed to read output from testmodel.py, exit status != 0: 14.279314481187612 14.295464374 13.525425758 Calling exit ...