Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.001339/0.001339, 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.00143/0.00143, allocations: 217.2 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.984 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.8486/0.8486, allocations: 134 MB / 446.4 MB, free: 10.2 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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001913/0.001913, allocations: 72.02 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1634, allocations: 85.9 MB / 0.7024 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006065/0.1695, allocations: 4.218 MB / 0.7066 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.564/0.7334, allocations: 154 MB / 0.8569 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008376/0.7343, allocations: 19.88 kB / 0.857 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.7349, allocations: 168.6 kB / 0.8571 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.7365, allocations: 0.4976 MB / 0.8576 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.7385, allocations: 0.8315 MB / 0.8584 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.7399, allocations: 1.215 MB / 0.8596 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.7406, allocations: 449.8 kB / 0.86 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.7413, allocations: 466.4 kB / 0.8605 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.7419, allocations: 465.9 kB / 0.8609 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.742, allocations: 104 kB / 0.861 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009697/0.743, allocations: 0.4964 MB / 0.8615 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.7432, allocations: 279.1 kB / 0.8618 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.7437, allocations: 0.5012 MB / 0.8623 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.7456, allocations: 1.535 MB / 0.8638 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7456, allocations: 7.938 kB / 0.8638 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7456, allocations: 0 / 0.8638 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.7456, allocations: 0 / 0.8638 GB, free: 1.316 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002321/0.7479, allocations: 1.308 MB / 0.865 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7479, allocations: 8.031 kB / 0.865 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.7481, allocations: 131.1 kB / 0.8652 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.7497, allocations: 236.1 kB / 0.8654 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.7509, allocations: 0.6792 MB / 0.8661 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.751, allocations: 62 kB / 0.8661 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.7511, allocations: 76 kB / 0.8662 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.7525, allocations: 0.8676 MB / 0.867 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.7525, allocations: 0 / 0.867 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.7526, allocations: 36 kB / 0.8671 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.7526, allocations: 20 kB / 0.8671 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.7543, allocations: 1.068 MB / 0.8681 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/0.758, allocations: 2.302 MB / 0.8704 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.7593, allocations: 0.6796 MB / 0.871 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.7598, allocations: 257.4 kB / 0.8713 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.597e-05/0.7598, allocations: 32.61 kB / 0.8713 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000768/0.7606, allocations: 427.2 kB / 0.8717 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 1.974e-06/0.7606, allocations: 0 / 0.8717 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.002862/0.7635, allocations: 1.01 MB / 0.8727 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.7636, allocations: 188.6 kB / 0.8729 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.7644, allocations: 0.6136 MB / 0.8735 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.7645, allocations: 41.7 kB / 0.8735 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.7648, allocations: 388.9 kB / 0.8739 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.765, allocations: 245.9 kB / 0.8741 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.7652, allocations: 134.2 kB / 0.8743 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7654, allocations: 378.8 kB / 0.8746 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.7658, allocations: 217.1 kB / 0.8748 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.7664, allocations: 318.8 kB / 0.8751 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009701/0.7673, allocations: 0.5276 MB / 0.8757 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7673, allocations: 4 kB / 0.8757 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001772/0.7691, allocations: 0.7239 MB / 0.8764 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.7691, allocations: 8 kB / 0.8764 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.7691, allocations: 0 / 0.8764 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.7697, allocations: 80.88 kB / 0.8765 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.7703, allocations: 135.8 kB / 0.8766 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.7724, allocations: 1.531 MB / 0.8781 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.773, allocations: 81.22 kB / 0.8782 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.7731, allocations: 28.17 kB / 0.8782 GB, free: 2.09 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 (75): * Single equations (assignments): 74 * 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.0004011/0.7735, allocations: 253.7 kB / 0.8784 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.7736, allocations: 83.42 kB / 0.8785 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.7759, allocations: 0.9939 MB / 0.8795 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.7759, allocations: 8 kB / 0.8795 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7759, allocations: 0 / 0.8795 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7759, allocations: 3.984 kB / 0.8795 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.7791, allocations: 1.849 MB / 0.8813 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.7791, allocations: 7.938 kB / 0.8813 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.7796, allocations: 147.8 kB / 0.8814 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/0.7801, allocations: 64.8 kB / 0.8815 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.7801, allocations: 27.98 kB / 0.8815 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.7821, allocations: 1.551 MB / 0.883 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7821, allocations: 7.969 kB / 0.883 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.784, allocations: 0.9321 MB / 0.884 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.7844, allocations: 183.1 kB / 0.8841 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7845, allocations: 16 kB / 0.8841 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.785, allocations: 55.94 kB / 0.8842 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7852, allocations: 60.88 kB / 0.8843 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-05/0.7852, allocations: 31.98 kB / 0.8843 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006099/0.7858, allocations: 455 kB / 0.8847 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7858, allocations: 0 / 0.8847 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008174/0.7866, allocations: 291.1 kB / 0.885 GB, free: 10.88 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 (86): * Single equations (assignments): 83 * 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.004025/0.7907, allocations: 1.963 MB / 0.8869 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.7924, allocations: 0.7043 MB / 0.8876 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7924, allocations: 0 / 0.8876 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009493/0.7933, allocations: 472.4 kB / 0.8881 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.7946, allocations: 281 kB / 0.8883 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8062, allocations: 5.953 MB / 0.8941 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.8068, allocations: 1.004 MB / 0.8951 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008163/0.8077, allocations: 258.3 kB / 0.8954 GB, free: 340 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.8082, allocations: 359.3 kB / 0.8957 GB, free: 15.98 MB / 0.67 GB Notification: Performance of SimCode: time 1.393e-06/0.8082, allocations: 0 / 0.8957 GB, free: 15.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.8687, allocations: 20.79 MB / 0.916 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.63, allocations: 13.81 kB / 0.916 GB, free: 11.34 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.444301290997828] Failed to read output from testmodel.py, exit status != 0: 14.85931477000122 14.874974424 14.126250477 Calling exit ...