Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001394/0.001394, allocations: 112 kB / 17.12 MB, free: 6.008 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.001557/0.001557, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9854/0.9854, allocations: 150 MB / 459.5 MB, free: 5.301 MB / 350.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.002008/0.002008, allocations: 71.25 kB / 0.6361 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1901, allocations: 89.13 MB / 0.7231 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01064/0.2007, allocations: 7.114 MB / 0.7301 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6574/0.8581, allocations: 154.5 MB / 0.881 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.8593, allocations: 26.53 kB / 0.881 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.8601, allocations: 272.7 kB / 0.8813 GB, free: 1.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.863, allocations: 0.794 MB / 0.8821 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.8653, allocations: 1.031 MB / 0.8831 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.8676, allocations: 2.115 MB / 0.8851 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.8687, allocations: 0.7607 MB / 0.8859 GB, free: 1.598 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.8701, allocations: 0.859 MB / 0.8867 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.8714, allocations: 0.8937 MB / 0.8876 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.8717, allocations: 219.9 kB / 0.8878 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.8733, allocations: 0.6099 MB / 0.8884 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004463/0.8737, allocations: 498 kB / 0.8889 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.8751, allocations: 0.9799 MB / 0.8898 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.8791, allocations: 2.73 MB / 0.8925 GB, free: 1.223 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.8791, allocations: 0 / 0.8925 GB, free: 1.223 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8791, allocations: 0 / 0.8925 GB, free: 1.223 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.652e-05/0.8792, allocations: 0 / 0.8925 GB, free: 1.223 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004449/0.8837, allocations: 2.126 MB / 0.8946 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8837, allocations: 10.06 kB / 0.8946 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003206/0.884, allocations: 229.4 kB / 0.8948 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.8872, allocations: 406.5 kB / 0.8952 GB, free: 16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.889, allocations: 1.012 MB / 0.8962 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.8891, allocations: 150.6 kB / 0.8963 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.8893, allocations: 151.9 kB / 0.8965 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.892, allocations: 1.588 MB / 0.898 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.892, allocations: 0 / 0.898 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.8921, allocations: 67.56 kB / 0.8981 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.8922, allocations: 41.06 kB / 0.8981 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.8947, allocations: 1.591 MB / 0.8997 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/0.9018, allocations: 5.017 MB / 0.9046 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.9036, allocations: 1.032 MB / 0.9056 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.9043, allocations: 391.3 kB / 0.9059 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.491e-05/0.9044, allocations: 43.14 kB / 0.906 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.9057, allocations: 0.703 MB / 0.9067 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=111): time 3.777e-06/0.9057, allocations: 3.406 kB / 0.9067 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=111): time 0.004093/0.9097, allocations: 1.662 MB / 0.9083 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.9099, allocations: 199 kB / 0.9085 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.9111, allocations: 0.8689 MB / 0.9093 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.9113, allocations: 46.83 kB / 0.9094 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/0.9118, allocations: 0.6451 MB / 0.91 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.9121, allocations: 369 kB / 0.9104 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.9125, allocations: 209.7 kB / 0.9106 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9126, allocations: 345.3 kB / 0.9109 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.9133, allocations: 382.2 kB / 0.9113 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.9141, allocations: 0.5073 MB / 0.9118 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.9155, allocations: 0.8546 MB / 0.9126 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.9155, allocations: 8.781 kB / 0.9126 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00275/0.9183, allocations: 1.154 MB / 0.9137 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.9183, allocations: 5.031 kB / 0.9137 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9183, allocations: 1.812 kB / 0.9137 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.919, allocations: 85.78 kB / 0.9138 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.9199, allocations: 221.2 kB / 0.914 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.9224, allocations: 1.651 MB / 0.9156 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.9236, allocations: 131.8 kB / 0.9158 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/0.9237, allocations: 43.33 kB / 0.9158 GB, free: 10.07 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.000854/0.9246, allocations: 356.7 kB / 0.9161 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.9249, allocations: 117 kB / 0.9163 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.928, allocations: 1.537 MB / 0.9178 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.9281, allocations: 17.53 kB / 0.9178 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9281, allocations: 0 / 0.9178 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.9281, allocations: 6.844 kB / 0.9178 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.9299, allocations: 1.395 MB / 0.9191 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9299, allocations: 0 / 0.9191 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.9308, allocations: 193.4 kB / 0.9193 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.9312, allocations: 80.36 kB / 0.9194 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.9313, allocations: 33.36 kB / 0.9194 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.9336, allocations: 1.664 MB / 0.9211 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9336, allocations: 0 / 0.9211 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.9364, allocations: 1.293 MB / 0.9223 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000703/0.9371, allocations: 366.2 kB / 0.9227 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.9373, allocations: 44.06 kB / 0.9227 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.9383, allocations: 84.38 kB / 0.9228 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.9385, allocations: 97.94 kB / 0.9229 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.9386, allocations: 52.33 kB / 0.9229 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009402/0.9395, allocations: 0.6336 MB / 0.9236 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9395, allocations: 0 / 0.9236 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001275/0.9408, allocations: 486 kB / 0.924 GB, free: 6.234 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004943/0.9458, allocations: 2.365 MB / 0.9263 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.948, allocations: 1.076 MB / 0.9274 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.948, allocations: 0 / 0.9274 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.9492, allocations: 0.644 MB / 0.928 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.9509, allocations: 352.7 kB / 0.9283 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.9674, allocations: 8.802 MB / 0.9369 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/0.9683, allocations: 1.231 MB / 0.9381 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001333/0.9697, allocations: 312.9 kB / 0.9384 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.9708, allocations: 0.6158 MB / 0.939 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of SimCode: time 1.643e-06/0.9708, allocations: 0 / 0.939 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08255/1.053, allocations: 29.82 MB / 0.9682 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.35, allocations: 3.938 kB / 0.9682 GB, free: 3.48 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.71899271500297] Failed to read output from testmodel.py, exit status != 0: 15.562555558979511 15.585478973 14.701998609 Calling exit ...