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.001888/0.001888, 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.002192/0.002192, allocations: 217 kB / 22.25 MB, free: 5.125 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.412/1.412, 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.8342/0.8342, allocations: 134 MB / 446.4 MB, free: 10.24 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.001904/0.001904, allocations: 66.67 kB / 0.6185 GB, free: 7.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1633, allocations: 85.91 MB / 0.7024 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007701/0.171, allocations: 5.016 MB / 0.7073 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5461/0.717, allocations: 154.3 MB / 0.858 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009839/0.718, allocations: 31.75 kB / 0.8581 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.7188, allocations: 192.3 kB / 0.8583 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.7209, allocations: 0.5915 MB / 0.8588 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.7234, allocations: 0.9649 MB / 0.8598 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.7257, allocations: 1.573 MB / 0.8613 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.7271, allocations: 0.8296 MB / 0.8621 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.7284, allocations: 0.7202 MB / 0.8628 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009523/0.7294, allocations: 0.7428 MB / 0.8635 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.7296, allocations: 192 kB / 0.8637 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.7309, allocations: 0.5855 MB / 0.8643 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000475/0.7314, allocations: 454.5 kB / 0.8647 GB, free: 476 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008434/0.7323, allocations: 0.8162 MB / 0.8655 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.7358, allocations: 2.372 MB / 0.8678 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7358, allocations: 0 / 0.8678 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7358, allocations: 4 kB / 0.8679 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.368e-05/0.7358, allocations: 0 / 0.8679 GB, free: 13.26 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.004357/0.7402, allocations: 1.818 MB / 0.8696 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7402, allocations: 8.031 kB / 0.8696 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002597/0.7405, allocations: 215.6 kB / 0.8698 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.7435, allocations: 391.6 kB / 0.8702 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.7451, allocations: 0.8753 MB / 0.8711 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.7453, allocations: 162.4 kB / 0.8712 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.7455, allocations: 144 kB / 0.8714 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.748, allocations: 1.465 MB / 0.8728 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.748, allocations: 0 / 0.8728 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.7482, allocations: 60 kB / 0.8728 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.7482, allocations: 36 kB / 0.8729 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.7507, allocations: 1.506 MB / 0.8744 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006435/0.7571, allocations: 3.824 MB / 0.8781 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.7587, allocations: 0.8561 MB / 0.8789 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.7593, allocations: 343.6 kB / 0.8793 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-05/0.7594, allocations: 44.92 kB / 0.8793 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.7604, allocations: 0.5437 MB / 0.8798 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=93): time 2.204e-06/0.7604, allocations: 0 / 0.8798 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.003552/0.764, allocations: 1.298 MB / 0.8811 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.7641, allocations: 196.9 kB / 0.8813 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.7652, allocations: 0.7864 MB / 0.882 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.969e-05/0.7653, allocations: 41.7 kB / 0.8821 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/0.7658, allocations: 0.6023 MB / 0.8827 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.7661, allocations: 329.2 kB / 0.883 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.7664, allocations: 170.6 kB / 0.8832 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7666, allocations: 345.9 kB / 0.8835 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.7672, allocations: 305.8 kB / 0.8838 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/0.768, allocations: 427.4 kB / 0.8842 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.7694, allocations: 0.7422 MB / 0.8849 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7694, allocations: 0 / 0.8849 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002336/0.7717, allocations: 0.9858 MB / 0.8859 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.7717, allocations: 4 kB / 0.8859 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7718, allocations: 0 / 0.8859 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/0.7724, allocations: 92.77 kB / 0.886 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.7732, allocations: 183.7 kB / 0.8861 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.7755, allocations: 1.537 MB / 0.8876 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.7762, allocations: 116 kB / 0.8877 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.7763, allocations: 39.97 kB / 0.8878 GB, free: 8.332 MB / 0.6544 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.0006035/0.7769, allocations: 313.6 kB / 0.8881 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.7771, allocations: 103.3 kB / 0.8882 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.7799, allocations: 1.288 MB / 0.8894 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.78, allocations: 15.94 kB / 0.8895 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.78, allocations: 0 / 0.8895 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.78, allocations: 7.969 kB / 0.8895 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.7843, allocations: 2.48 MB / 0.8919 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7844, allocations: 0 / 0.8919 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.7851, allocations: 187.7 kB / 0.8921 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.7855, allocations: 76.78 kB / 0.8921 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.7856, allocations: 23.98 kB / 0.8922 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.7877, allocations: 1.574 MB / 0.8937 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7877, allocations: 0 / 0.8937 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.7901, allocations: 1.127 MB / 0.8948 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.7908, allocations: 250.9 kB / 0.895 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.7909, allocations: 27.95 kB / 0.8951 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.7916, allocations: 55.94 kB / 0.8951 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.7918, allocations: 84.84 kB / 0.8952 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.7919, allocations: 31.98 kB / 0.8952 GB, free: 496 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008803/0.7928, allocations: 0.5849 MB / 0.8958 GB, free: 15.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7928, allocations: 0 / 0.8958 GB, free: 15.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001131/0.7939, allocations: 406.6 kB / 0.8962 GB, free: 15.51 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 (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.004576/0.7985, allocations: 2.168 MB / 0.8983 GB, free: 13.53 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.8005, allocations: 0.8976 MB / 0.8992 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.8005, allocations: 4 kB / 0.8992 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.8015, allocations: 0.5434 MB / 0.8997 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.8029, allocations: 314.7 kB / 0.9 GB, free: 11.78 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.8176, allocations: 8.024 MB / 0.9079 GB, free: 3.598 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.8184, allocations: 1.173 MB / 0.909 GB, free: 2.398 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009014/0.8193, allocations: 303.9 kB / 0.9093 GB, free: 2.098 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/0.8201, allocations: 0.5578 MB / 0.9098 GB, free: 1.539 MB / 0.67 GB Notification: Performance of SimCode: time 1.442e-06/0.8201, allocations: 4 kB / 0.9098 GB, free: 1.535 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0723/0.8924, allocations: 26.75 MB / 0.936 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.29, allocations: 10.78 kB / 0.936 GB, free: 6.949 MB / 0.7012 GB " [Timeout remaining time 644] (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: 19.085755003005033] Failed to read output from testmodel.py, exit status != 0: 15.514031238002644 15.536174372 14.796271347 Calling exit ...