Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.001847/0.001847, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002353/0.002353, allocations: 216 kB / 22.26 MB, free: 5.113 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.035 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.002476/0.002476, allocations: 284.1 kB / 312.7 MB, free: 2.816 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.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",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.002825/0.002825, allocations: 104.1 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1925, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6745/0.8671, allocations: 177.5 MB / 1.006 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004034/0.8711, allocations: 2.312 MB / 1.008 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005371/0.8716, allocations: 19.03 kB / 1.008 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.8724, allocations: 239.4 kB / 1.009 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.8749, allocations: 0.9785 MB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.8773, allocations: 0.8628 MB / 1.01 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.879, allocations: 0.9855 MB / 1.011 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.8795, allocations: 260.3 kB / 1.012 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.8802, allocations: 476.5 kB / 1.012 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.8807, allocations: 338.5 kB / 1.012 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.8807, allocations: 33.34 kB / 1.012 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.8826, allocations: 1.075 MB / 1.013 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.8827, allocations: 153.8 kB / 1.014 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.883, allocations: 240.3 kB / 1.014 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.8842, allocations: 0.9036 MB / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8842, allocations: 5.75 kB / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8842, allocations: 0 / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8842, allocations: 0.9375 kB / 1.015 GB, free: 3.203 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001322/0.8856, allocations: 0.7488 MB / 1.015 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8856, allocations: 14.59 kB / 1.015 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.8857, allocations: 64.14 kB / 1.016 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.8868, allocations: 188.1 kB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.8875, allocations: 324.2 kB / 1.016 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.8875, allocations: 24.28 kB / 1.016 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.8875, allocations: 29.5 kB / 1.016 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.8881, allocations: 373.9 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.8881, allocations: 4.094 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.8882, allocations: 14.06 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.8882, allocations: 10.91 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.8887, allocations: 263 kB / 1.017 GB, free: 18.37 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.001863/0.8905, allocations: 1.636 MB / 1.018 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.8909, allocations: 196.2 kB / 1.018 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.8911, allocations: 109.6 kB / 1.019 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.8917, allocations: 131.8 kB / 1.019 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.8918, allocations: 31.66 kB / 1.019 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.8918, allocations: 3.188 kB / 1.019 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.000771/0.8925, allocations: 356.6 kB / 1.019 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.8926, allocations: 56.5 kB / 1.019 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.893, allocations: 427.4 kB / 1.02 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.893, allocations: 30.33 kB / 1.02 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.8931, allocations: 213 kB / 1.02 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.8932, allocations: 80.45 kB / 1.02 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.8932, allocations: 55.58 kB / 1.02 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8934, allocations: 349.1 kB / 1.02 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.8936, allocations: 83.06 kB / 1.02 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.8937, allocations: 128.8 kB / 1.02 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.8941, allocations: 214.3 kB / 1.021 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8941, allocations: 0 / 1.021 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004426/0.8945, allocations: 288 kB / 1.021 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8945, allocations: 5.594 kB / 1.021 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.8945, allocations: 0 / 1.021 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8945, allocations: 3.25 kB / 1.021 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.8948, allocations: 55.81 kB / 1.021 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8948, allocations: 3.469 kB / 1.021 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.895, allocations: 37.83 kB / 1.021 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.895, allocations: 10.25 kB / 1.021 GB, free: 16.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.8952, allocations: 165.2 kB / 1.021 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.8952, allocations: 43.81 kB / 1.021 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.8957, allocations: 289.4 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.8957, allocations: 3.062 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8957, allocations: 3.844 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.8958, allocations: 6.516 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.8969, allocations: 0.7806 MB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8969, allocations: 3 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.8971, allocations: 50.75 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8971, allocations: 2.938 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.8971, allocations: 6.031 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8971, allocations: 5.703 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8971, allocations: 4.969 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.8978, allocations: 0.5124 MB / 1.023 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.8979, allocations: 66.34 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.898, allocations: 5.625 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.8982, allocations: 18.83 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.8983, allocations: 14.97 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.8983, allocations: 14.05 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003036/0.8986, allocations: 303.2 kB / 1.023 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5e-08/0.8986, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004748/0.8991, allocations: 116.8 kB / 1.023 GB, free: 15.44 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.9002, allocations: 1.123 MB / 1.024 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.9007, allocations: 212 kB / 1.025 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9007, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.9009, allocations: 106.6 kB / 1.025 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.9019, allocations: 227.5 kB / 1.025 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.9062, allocations: 3.697 MB / 1.029 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.9066, allocations: 0.8232 MB / 1.029 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002723/0.9069, allocations: 87.98 kB / 1.029 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.9071, allocations: 139.2 kB / 1.03 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/0.9071, allocations: 0.9688 kB / 1.03 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.949, allocations: 12.38 MB / 1.042 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.06, allocations: 4.703 kB / 1.042 GB, free: 11.03 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.499360056001024] Failed to read output from testmodel.py, exit status != 0: 12.166516329001752 12.186866578 11.298334489 Calling exit ...