Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001198/0.001198, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001922/0.001922, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9941/0.9941, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8051/0.8051, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.0009206/0.0009206, allocations: 65.48 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5105, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004957/0.5155, allocations: 4.681 MB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.6576, allocations: 132.7 MB / 0.952 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008963/0.6585, allocations: 23.81 kB / 0.952 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.659, allocations: 210.1 kB / 0.9522 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.6606, allocations: 0.5859 MB / 0.9528 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.6624, allocations: 0.8713 MB / 0.9536 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.6638, allocations: 1.456 MB / 0.955 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.6644, allocations: 453 kB / 0.9555 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007184/0.6651, allocations: 0.5373 MB / 0.956 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.6657, allocations: 0.4937 MB / 0.9565 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.6659, allocations: 132 kB / 0.9566 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009558/0.6668, allocations: 0.4957 MB / 0.9571 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.6671, allocations: 323 kB / 0.9574 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.6675, allocations: 0.4938 MB / 0.9579 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.6695, allocations: 1.804 MB / 0.9596 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6695, allocations: 0 / 0.9596 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6695, allocations: 0 / 0.9596 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.385e-05/0.6695, allocations: 0 / 0.9596 GB, free: 3.938 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002441/0.672, allocations: 1.489 MB / 0.9611 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.672, allocations: 12.03 kB / 0.9611 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.6722, allocations: 148.1 kB / 0.9612 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.6733, allocations: 271.9 kB / 0.9615 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.6743, allocations: 0.7491 MB / 0.9622 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.6744, allocations: 66 kB / 0.9623 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.6745, allocations: 96 kB / 0.9624 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.676, allocations: 1.258 MB / 0.9636 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.676, allocations: 0 / 0.9636 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.6761, allocations: 40 kB / 0.9637 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.6761, allocations: 24 kB / 0.9637 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.6775, allocations: 1.136 MB / 0.9648 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.6808, allocations: 2.31 MB / 0.967 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.6821, allocations: 0.848 MB / 0.9679 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.6825, allocations: 283.5 kB / 0.9681 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.6826, allocations: 32.55 kB / 0.9682 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006819/0.6832, allocations: 0.5974 MB / 0.9688 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.6832, allocations: 4 kB / 0.9688 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.002008/0.6852, allocations: 1.166 MB / 0.9699 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.6853, allocations: 188.6 kB / 0.9701 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.6859, allocations: 0.6723 MB / 0.9707 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.686, allocations: 41.7 kB / 0.9708 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.6862, allocations: 437 kB / 0.9712 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.6864, allocations: 281.6 kB / 0.9715 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.6865, allocations: 142.6 kB / 0.9716 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6867, allocations: 394.7 kB / 0.972 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.687, allocations: 257.9 kB / 0.9722 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.6875, allocations: 499 kB / 0.9727 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.6884, allocations: 0.6033 MB / 0.9733 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6884, allocations: 0 / 0.9733 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001167/0.6896, allocations: 0.8296 MB / 0.9741 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6896, allocations: 4 kB / 0.9741 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6896, allocations: 4 kB / 0.9741 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.6899, allocations: 88.8 kB / 0.9742 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.6903, allocations: 155.8 kB / 0.9743 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.6916, allocations: 1.519 MB / 0.9758 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.692, allocations: 95.5 kB / 0.9759 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.6921, allocations: 35.97 kB / 0.9759 GB, free: 2.66 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003273/0.6924, allocations: 279.4 kB / 0.9762 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6925, allocations: 91.44 kB / 0.9763 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.694, allocations: 1.101 MB / 0.9774 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.694, allocations: 11.98 kB / 0.9774 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.694, allocations: 0 / 0.9774 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.694, allocations: 3.984 kB / 0.9774 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.6961, allocations: 1.856 MB / 0.9792 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6961, allocations: 0 / 0.9792 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.6964, allocations: 159.7 kB / 0.9794 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/0.6966, allocations: 72.78 kB / 0.9794 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.6967, allocations: 27.97 kB / 0.9794 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.698, allocations: 1.555 MB / 0.981 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.698, allocations: 0 / 0.981 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.6993, allocations: 1.03 MB / 0.982 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.6996, allocations: 203.1 kB / 0.9822 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.6997, allocations: 23.98 kB / 0.9822 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.7, allocations: 66.44 kB / 0.9823 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.7001, allocations: 84.78 kB / 0.9823 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.7002, allocations: 31.92 kB / 0.9824 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004167/0.7006, allocations: 495 kB / 0.9828 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7006, allocations: 0 / 0.9828 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007051/0.7013, allocations: 339.1 kB / 0.9832 GB, free: 11.06 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002386/0.7037, allocations: 2.111 MB / 0.9852 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.7048, allocations: 0.7923 MB / 0.986 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7048, allocations: 7.938 kB / 0.986 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.7054, allocations: 0.5001 MB / 0.9865 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.7062, allocations: 307.2 kB / 0.9868 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.7136, allocations: 6.518 MB / 0.9931 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.7139, allocations: 465.6 kB / 0.9936 GB, free: 416 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006481/0.7146, allocations: 275.1 kB / 0.9939 GB, free: 136 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.7153, allocations: 407.3 kB / 0.9942 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.403e-06/0.7153, allocations: 3.938 kB / 0.9942 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.7549, allocations: 24.25 MB / 1.018 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.863, allocations: 15.88 kB / 1.018 GB, free: 7.691 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.043576925061643] Failed to read output from testmodel.py, exit status != 0: 9.014708694070578 9.025522899 8.354126913 Calling exit ...