Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001706/0.001706, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002125/0.002125, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9815/0.9815, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001983/0.001983, allocations: 62.12 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1997, allocations: 89.17 MB / 0.7283 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007191/0.2069, allocations: 4.872 MB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5909/0.7978, allocations: 154.1 MB / 0.8836 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000907/0.7987, allocations: 19.81 kB / 0.8836 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.7993, allocations: 196.2 kB / 0.8838 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.801, allocations: 0.5613 MB / 0.8844 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.8032, allocations: 0.8661 MB / 0.8852 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.805, allocations: 1.39 MB / 0.8866 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007385/0.8058, allocations: 403.9 kB / 0.8869 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007923/0.8066, allocations: 0.4983 MB / 0.8874 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.8073, allocations: 0.5018 MB / 0.8879 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.8074, allocations: 116 kB / 0.888 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.8085, allocations: 0.5102 MB / 0.8885 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.8088, allocations: 299 kB / 0.8888 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.8094, allocations: 0.5558 MB / 0.8894 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.8117, allocations: 1.664 MB / 0.891 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8117, allocations: 4 kB / 0.891 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.167e-06/0.8117, allocations: 4 kB / 0.891 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.8117, allocations: 0 / 0.891 GB, free: 0.7773 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002761/0.8145, allocations: 1.403 MB / 0.8924 GB, free: 15.33 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8145, allocations: 12.03 kB / 0.8924 GB, free: 15.32 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.8147, allocations: 131.3 kB / 0.8925 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.8161, allocations: 224 kB / 0.8927 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.8174, allocations: 0.7152 MB / 0.8934 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.8175, allocations: 58 kB / 0.8935 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.8176, allocations: 88 kB / 0.8935 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.8192, allocations: 0.9066 MB / 0.8944 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.8192, allocations: 0 / 0.8944 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.8193, allocations: 32 kB / 0.8945 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.8193, allocations: 23.98 kB / 0.8945 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.8212, allocations: 1.097 MB / 0.8956 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.8256, allocations: 2.659 MB / 0.8982 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.8271, allocations: 0.7513 MB / 0.8989 GB, free: 8.445 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.8276, allocations: 274.7 kB / 0.8991 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.8277, allocations: 28.61 kB / 0.8992 GB, free: 8.145 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/0.8286, allocations: 0.4978 MB / 0.8997 GB, free: 7.633 MB / 0.67 GB Notification: Performance of pre-optimization done (n=79): time 2.094e-06/0.8286, allocations: 3.938 kB / 0.8997 GB, free: 7.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=79): time 0.003281/0.8318, allocations: 1.111 MB / 0.9008 GB, free: 6.508 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.832, allocations: 188.6 kB / 0.9009 GB, free: 6.281 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.8329, allocations: 0.645 MB / 0.9016 GB, free: 5.633 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/0.833, allocations: 49.7 kB / 0.9016 GB, free: 5.578 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.8334, allocations: 401 kB / 0.902 GB, free: 5.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.8336, allocations: 269.7 kB / 0.9022 GB, free: 4.914 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.8338, allocations: 146.6 kB / 0.9024 GB, free: 4.766 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.834, allocations: 386.7 kB / 0.9028 GB, free: 4.379 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.8346, allocations: 249.9 kB / 0.903 GB, free: 4.133 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.8352, allocations: 354.5 kB / 0.9033 GB, free: 3.762 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.8363, allocations: 0.576 MB / 0.9039 GB, free: 3.172 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8363, allocations: 0 / 0.9039 GB, free: 3.172 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001963/0.8383, allocations: 0.7907 MB / 0.9047 GB, free: 2.371 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8383, allocations: 4 kB / 0.9047 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8383, allocations: 3.984 kB / 0.9047 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.8389, allocations: 84.81 kB / 0.9048 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.8396, allocations: 147.8 kB / 0.9049 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.8418, allocations: 1.525 MB / 0.9064 GB, free: 500 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.8426, allocations: 84.08 kB / 0.9065 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.8427, allocations: 27.98 kB / 0.9065 GB, free: 388 kB / 0.67 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 (85): * Single equations (assignments): 84 * 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.000511/0.8432, allocations: 273.9 kB / 0.9068 GB, free: 104 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.8434, allocations: 91.38 kB / 0.9068 GB, free: 12 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.8458, allocations: 1.052 MB / 0.9079 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.8459, allocations: 12 kB / 0.9079 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.8459, allocations: 0 / 0.9079 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.8459, allocations: 3.984 kB / 0.9079 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.8494, allocations: 1.895 MB / 0.9097 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.8494, allocations: 3.938 kB / 0.9097 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.85, allocations: 149 kB / 0.9099 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.8504, allocations: 72.78 kB / 0.9099 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.8505, allocations: 23.98 kB / 0.91 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.8527, allocations: 1.564 MB / 0.9115 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.8527, allocations: 3.938 kB / 0.9115 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.8549, allocations: 0.9907 MB / 0.9125 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.8554, allocations: 199 kB / 0.9127 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.8555, allocations: 19.95 kB / 0.9127 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.8562, allocations: 67.92 kB / 0.9127 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.8563, allocations: 76.86 kB / 0.9128 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.8564, allocations: 31.98 kB / 0.9128 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007204/0.8571, allocations: 471 kB / 0.9133 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8571, allocations: 0 / 0.9133 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001118/0.8583, allocations: 315.2 kB / 0.9136 GB, free: 8.891 MB / 0.6856 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 (90): * Single equations (assignments): 84 * 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.004442/0.8627, allocations: 2.041 MB / 0.9156 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.8645, allocations: 0.7689 MB / 0.9163 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8645, allocations: 0 / 0.9163 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.8655, allocations: 484.2 kB / 0.9168 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.867, allocations: 306.5 kB / 0.9171 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.8783, allocations: 6.238 MB / 0.9232 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/0.8792, allocations: 1.023 MB / 0.9242 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009756/0.8802, allocations: 258.7 kB / 0.9244 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/0.8808, allocations: 383.2 kB / 0.9248 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of SimCode: time 1.272e-06/0.8808, allocations: 0 / 0.9248 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/0.9639, allocations: 22.22 MB / 0.9465 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.45, allocations: 6.125 kB / 0.9465 GB, free: 7.414 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.66649944799792] Failed to read output from testmodel.py, exit status != 0: 15.68071569100357 15.697682117 14.882388026 Calling exit ...