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.001184/0.001184, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001535/0.001535, allocations: 212 kB / 19.43 MB, free: 3.637 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.346/1.346, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 282.1 kB / 309.1 MB, free: 4.062 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.138/1.138, allocations: 180.9 MB / 0.5333 GB, free: 13.72 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002627/0.002627, allocations: 106.9 kB / 0.7342 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1516, allocations: 95.34 MB / 0.8273 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5362/0.6879, allocations: 177.3 MB / 1 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.6913, allocations: 2.311 MB / 1.003 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.6917, allocations: 19.94 kB / 1.003 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.6923, allocations: 235.6 kB / 1.003 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.6944, allocations: 0.9709 MB / 1.004 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.6966, allocations: 0.8297 MB / 1.005 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.698, allocations: 0.9756 MB / 1.006 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.6985, allocations: 275.5 kB / 1.006 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.6994, allocations: 476 kB / 1.006 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.6998, allocations: 330.6 kB / 1.007 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.6998, allocations: 32.5 kB / 1.007 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.7016, allocations: 1.053 MB / 1.008 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.7017, allocations: 150.2 kB / 1.008 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.7019, allocations: 242.8 kB / 1.008 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.7031, allocations: 0.9079 MB / 1.009 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7031, allocations: 0.9062 kB / 1.009 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7031, allocations: 1.219 kB / 1.009 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.7031, allocations: 0 / 1.009 GB, free: 3.012 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.001315/0.7044, allocations: 0.8248 MB / 1.01 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.7044, allocations: 9.625 kB / 1.01 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.789e-05/0.7045, allocations: 68.98 kB / 1.01 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.7056, allocations: 187.2 kB / 1.01 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.7062, allocations: 386.4 kB / 1.01 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.7062, allocations: 25.62 kB / 1.01 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.7063, allocations: 32.45 kB / 1.011 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.7068, allocations: 364.6 kB / 1.011 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.7068, allocations: 8.594 kB / 1.011 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.7068, allocations: 16.28 kB / 1.011 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.7069, allocations: 11.41 kB / 1.011 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.7073, allocations: 262.7 kB / 1.011 GB, free: 18.01 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.001627/0.7089, allocations: 1.68 MB / 1.013 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.7093, allocations: 195.3 kB / 1.013 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.7095, allocations: 108.6 kB / 1.013 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.7105, allocations: 0.8707 MB / 1.014 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.7106, allocations: 38.2 kB / 1.014 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.7106, allocations: 0.875 kB / 1.014 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0008148/0.7114, allocations: 358.9 kB / 1.014 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.7114, allocations: 54.97 kB / 1.014 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.7118, allocations: 419.9 kB / 1.015 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.7118, allocations: 34.59 kB / 1.015 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.7119, allocations: 217.6 kB / 1.015 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.712, allocations: 80.7 kB / 1.015 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.712, allocations: 49.41 kB / 1.015 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7122, allocations: 353.7 kB / 1.015 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.7123, allocations: 81.5 kB / 1.016 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.7125, allocations: 127.3 kB / 1.016 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.7128, allocations: 215.7 kB / 1.016 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7128, allocations: 1 kB / 1.016 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004398/0.7133, allocations: 290.5 kB / 1.016 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.7133, allocations: 5.906 kB / 1.016 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7133, allocations: 3.062 kB / 1.016 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7133, allocations: 2.188 kB / 1.016 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.7135, allocations: 52.14 kB / 1.016 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7135, allocations: 3.562 kB / 1.016 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.7137, allocations: 37.81 kB / 1.016 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.7137, allocations: 14.31 kB / 1.016 GB, free: 14.96 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.0001446/0.7139, allocations: 160.6 kB / 1.016 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.7139, allocations: 45.86 kB / 1.016 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.7144, allocations: 290.3 kB / 1.017 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7144, allocations: 2.531 kB / 1.017 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7144, allocations: 0 / 1.017 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7144, allocations: 6.953 kB / 1.017 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.7154, allocations: 0.8041 MB / 1.018 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7154, allocations: 1.531 kB / 1.018 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.7156, allocations: 51.89 kB / 1.018 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7157, allocations: 5.047 kB / 1.018 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.7157, allocations: 7.188 kB / 1.018 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7157, allocations: 6.766 kB / 1.018 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7157, allocations: 4.594 kB / 1.018 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.7163, allocations: 0.5092 MB / 1.018 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.7165, allocations: 151.2 kB / 1.018 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.7165, allocations: 3.344 kB / 1.018 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.7168, allocations: 18.72 kB / 1.018 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.7168, allocations: 19.39 kB / 1.018 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.7169, allocations: 14.16 kB / 1.018 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002669/0.7171, allocations: 299.4 kB / 1.019 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7171, allocations: 1.922 kB / 1.019 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004313/0.7176, allocations: 115.7 kB / 1.019 GB, free: 13.98 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.7187, allocations: 1.119 MB / 1.02 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.7192, allocations: 206 kB / 1.02 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7192, allocations: 0 / 1.02 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.7193, allocations: 114.8 kB / 1.02 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.7203, allocations: 230.8 kB / 1.02 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.7243, allocations: 3.693 MB / 1.024 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.7247, allocations: 0.8246 MB / 1.025 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.7249, allocations: 90 kB / 1.025 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.7251, allocations: 138.8 kB / 1.025 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.7251, allocations: 0 / 1.025 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.7597, allocations: 12.15 MB / 1.037 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.739, allocations: 3.219 kB / 1.037 GB, free: 9.816 MB / 0.7325 GB " [Timeout remaining time 651] (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: 12.62638296931982] Failed to read output from testmodel.py, exit status != 0: 8.813113685231656 8.829997723 8.123819133 Calling exit ...