Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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.001255/0.001255, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001436/0.001436, allocations: 216.5 kB / 22.25 MB, free: 5.078 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002472/0.002472, allocations: 295.7 kB / 312.7 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.133/1.133, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002726/0.002726, allocations: 104.5 kB / 0.7396 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1626, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5713/0.7339, allocations: 172 MB / 1.001 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.7519, allocations: 17.75 MB / 1.018 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.7536, allocations: 44.75 kB / 1.018 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.755, allocations: 0.6018 MB / 1.019 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.7599, allocations: 1.835 MB / 1.02 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.7637, allocations: 1.504 MB / 1.022 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003709/0.7674, allocations: 2.901 MB / 1.025 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.7693, allocations: 1.605 MB / 1.026 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.7733, allocations: 1.525 MB / 1.028 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.775, allocations: 1.154 MB / 1.029 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.7753, allocations: 223.3 kB / 1.029 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.7785, allocations: 1.665 MB / 1.031 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.7791, allocations: 0.8168 MB / 1.032 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.7803, allocations: 1.28 MB / 1.033 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004366/0.7847, allocations: 3.796 MB / 1.037 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7847, allocations: 0 / 1.037 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7847, allocations: 0 / 1.037 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-05/0.7847, allocations: 0 / 1.037 GB, free: 1.328 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004255/0.789, allocations: 2.946 MB / 1.039 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.789, allocations: 9.062 kB / 1.039 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/0.7892, allocations: 245.9 kB / 1.04 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.7932, allocations: 0.6313 MB / 1.04 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.7967, allocations: 3.369 MB / 1.044 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/0.7968, allocations: 129.2 kB / 1.044 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.797, allocations: 170.1 kB / 1.044 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.7998, allocations: 1.948 MB / 1.046 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.7998, allocations: 0 / 1.046 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.8, allocations: 74.47 kB / 1.046 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.8, allocations: 44.88 kB / 1.046 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.8029, allocations: 2.089 MB / 1.048 GB, free: 14.78 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00893/0.8119, allocations: 6.488 MB / 1.054 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.8147, allocations: 1.71 MB / 1.056 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.8157, allocations: 0.7008 MB / 1.057 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.8162, allocations: 124 kB / 1.057 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.8177, allocations: 1.005 MB / 1.058 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.504e-06/0.8177, allocations: 0 / 1.058 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006066/0.8237, allocations: 2.599 MB / 1.06 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.8239, allocations: 194.7 kB / 1.06 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.8279, allocations: 4.086 MB / 1.064 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.8282, allocations: 58.27 kB / 1.064 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008209/0.829, allocations: 0.9075 MB / 1.065 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/0.8295, allocations: 0.4944 MB / 1.066 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.8298, allocations: 237.5 kB / 1.066 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.83, allocations: 362.9 kB / 1.066 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009901/0.831, allocations: 0.5708 MB / 1.067 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.8322, allocations: 0.8002 MB / 1.068 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.8344, allocations: 1.308 MB / 1.069 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8344, allocations: 0 / 1.069 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00392/0.8383, allocations: 1.784 MB / 1.071 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.8383, allocations: 8 kB / 1.071 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8383, allocations: 0 / 1.071 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.8394, allocations: 215.4 kB / 1.071 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.8408, allocations: 320.2 kB / 1.071 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006376/0.8472, allocations: 6.801 MB / 1.078 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.8489, allocations: 167.2 kB / 1.078 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.8491, allocations: 47.97 kB / 1.078 GB, free: 10.06 MB / 0.7481 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.8501, allocations: 0.4902 MB / 1.079 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/0.8506, allocations: 202.7 kB / 1.079 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004449/0.8551, allocations: 2.129 MB / 1.081 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.8551, allocations: 20 kB / 1.081 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8551, allocations: 0 / 1.081 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.8551, allocations: 7.969 kB / 1.081 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007359/0.8625, allocations: 4.099 MB / 1.085 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8625, allocations: 0 / 1.085 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.8639, allocations: 312.3 kB / 1.085 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008545/0.8647, allocations: 211.3 kB / 1.085 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.459e-05/0.8648, allocations: 39.97 kB / 1.085 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006153/0.871, allocations: 6.837 MB / 1.092 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.871, allocations: 4.125 kB / 1.092 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/0.8752, allocations: 2.008 MB / 1.094 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.8763, allocations: 458 kB / 1.095 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.8765, allocations: 28 kB / 1.095 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.8777, allocations: 110 kB / 1.095 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.878, allocations: 120.4 kB / 1.095 GB, free: 8.422 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8781, allocations: 71.92 kB / 1.095 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003538/0.8816, allocations: 3.136 MB / 1.098 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8816, allocations: 0 / 1.098 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00183/0.8835, allocations: 0.6976 MB / 1.099 GB, free: 4.523 MB / 0.7637 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006327/0.8898, allocations: 3.208 MB / 1.102 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003417/0.8932, allocations: 2 MB / 1.104 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8932, allocations: 4.656 kB / 1.104 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.8953, allocations: 1.36 MB / 1.105 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.8978, allocations: 0.5588 MB / 1.106 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03132/0.9291, allocations: 20.89 MB / 1.126 GB, free: 8.449 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.9303, allocations: 1.541 MB / 1.127 GB, free: 6.879 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001762/0.9321, allocations: 0.5359 MB / 1.128 GB, free: 6.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.9333, allocations: 0.9093 MB / 1.129 GB, free: 5.43 MB / 0.795 GB Notification: Performance of SimCode: time 8.32e-07/0.9333, allocations: 0 / 1.129 GB, free: 5.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.044, allocations: 50.55 MB / 1.178 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.79, allocations: 0 / 1.178 GB, free: 3.449 MB / 0.8419 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.905231821998314] Failed to read output from testmodel.py, exit status != 0: 17.028605125000468 17.044209318 16.256515844 Calling exit ...