Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001324/0.001324, 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.001414/0.001414, allocations: 220.3 kB / 22.26 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.949 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.8502/0.8502, allocations: 134 MB / 446.4 MB, free: 10.23 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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.002007/0.002007, allocations: 70.06 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006089/0.1724, allocations: 4.162 MB / 0.7065 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5517/0.7241, allocations: 154 MB / 0.8569 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009788/0.7251, allocations: 23.81 kB / 0.8569 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.7257, allocations: 177.4 kB / 0.857 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.7276, allocations: 493.6 kB / 0.8575 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.7298, allocations: 0.8372 MB / 0.8583 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.7317, allocations: 1.199 MB / 0.8595 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/0.7324, allocations: 437.8 kB / 0.8599 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.7332, allocations: 458.4 kB / 0.8604 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.7338, allocations: 453.9 kB / 0.8608 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.734, allocations: 112 kB / 0.8609 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.7352, allocations: 0.4974 MB / 0.8614 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.7355, allocations: 279.1 kB / 0.8617 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004944/0.736, allocations: 0.4896 MB / 0.8621 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.7382, allocations: 1.551 MB / 0.8636 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7382, allocations: 3.938 kB / 0.8637 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7382, allocations: 0 / 0.8637 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.7382, allocations: 0 / 0.8637 GB, free: 1.41 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002533/0.7408, allocations: 1.304 MB / 0.8649 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7408, allocations: 8.031 kB / 0.8649 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.741, allocations: 127.1 kB / 0.8651 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.7426, allocations: 240 kB / 0.8653 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.7438, allocations: 0.6753 MB / 0.8659 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.7439, allocations: 58 kB / 0.866 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.744, allocations: 76 kB / 0.8661 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.7454, allocations: 0.8559 MB / 0.8669 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.7455, allocations: 4 kB / 0.8669 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.7455, allocations: 32 kB / 0.8669 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.7455, allocations: 16 kB / 0.867 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.7472, allocations: 1.061 MB / 0.868 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.7511, allocations: 2.321 MB / 0.8703 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.7525, allocations: 0.6847 MB / 0.8709 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.7529, allocations: 250.7 kB / 0.8712 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.753, allocations: 32.67 kB / 0.8712 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007838/0.7538, allocations: 420.3 kB / 0.8716 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.7538, allocations: 0 / 0.8716 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002988/0.7568, allocations: 1.006 MB / 0.8726 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.7569, allocations: 192.6 kB / 0.8728 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000788/0.7577, allocations: 0.6019 MB / 0.8734 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.7578, allocations: 37.7 kB / 0.8734 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.7581, allocations: 388.9 kB / 0.8738 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.7583, allocations: 249.9 kB / 0.874 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.7585, allocations: 126.2 kB / 0.8741 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.7587, allocations: 378.8 kB / 0.8745 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.7592, allocations: 217.2 kB / 0.8747 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.7597, allocations: 314.8 kB / 0.875 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/0.7607, allocations: 0.5199 MB / 0.8755 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7607, allocations: 0 / 0.8755 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001761/0.7625, allocations: 0.7201 MB / 0.8762 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7625, allocations: 8 kB / 0.8762 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7625, allocations: 0 / 0.8762 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.7631, allocations: 84.92 kB / 0.8763 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.7637, allocations: 135.7 kB / 0.8764 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.7659, allocations: 1.55 MB / 0.8779 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.7665, allocations: 71.58 kB / 0.878 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.7665, allocations: 27.98 kB / 0.878 GB, free: 2.23 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (73): * Single equations (assignments): 72 * 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.00046/0.767, allocations: 245.7 kB / 0.8783 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.7672, allocations: 83.42 kB / 0.8783 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.7694, allocations: 0.9585 MB / 0.8793 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.7694, allocations: 8 kB / 0.8793 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.7694, allocations: 4 kB / 0.8793 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7694, allocations: 7.969 kB / 0.8793 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.7726, allocations: 1.828 MB / 0.8811 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7726, allocations: 0 / 0.8811 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.7731, allocations: 135.8 kB / 0.8812 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.7736, allocations: 80.7 kB / 0.8813 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.7736, allocations: 23.98 kB / 0.8813 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.7756, allocations: 1.57 MB / 0.8828 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7756, allocations: 4.062 kB / 0.8828 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.7774, allocations: 0.8995 MB / 0.8837 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.7778, allocations: 183.2 kB / 0.8839 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.7779, allocations: 23.94 kB / 0.8839 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.7785, allocations: 55.94 kB / 0.884 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7786, allocations: 52.89 kB / 0.884 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.7786, allocations: 35.98 kB / 0.8841 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005744/0.7792, allocations: 447 kB / 0.8845 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7792, allocations: 0 / 0.8845 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007857/0.78, allocations: 287.2 kB / 0.8848 GB, free: 11.11 MB / 0.6544 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 (81): * Single equations (assignments): 78 * 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.00385/0.7838, allocations: 1.945 MB / 0.8867 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.7854, allocations: 0.6964 MB / 0.8873 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7854, allocations: 0 / 0.8873 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008409/0.7862, allocations: 464.4 kB / 0.8878 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.7874, allocations: 283.5 kB / 0.888 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.7979, allocations: 5.898 MB / 0.8938 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.7986, allocations: 0.9992 MB / 0.8948 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007905/0.7994, allocations: 258 kB / 0.895 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.7999, allocations: 355.3 kB / 0.8954 GB, free: 316 kB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.7999, allocations: 0 / 0.8954 GB, free: 316 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05909/0.859, allocations: 20.55 MB / 0.9154 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.5, allocations: 0 / 0.9154 GB, free: 11.91 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.254338093000115] Failed to read output from testmodel.py, exit status != 0: 14.726998092999565 14.742694267 14.001404933 Calling exit ...