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.001301/0.001301, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001585/0.001585, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 8 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.002566/0.002566, allocations: 290.9 kB / 313.5 MB, free: 2.844 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.281/1.281, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="cs",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.002791/0.002791, allocations: 103.8 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2026, allocations: 95.38 MB / 0.8335 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7092/0.9118, allocations: 177.5 MB / 1.007 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004351/0.9161, allocations: 2.318 MB / 1.009 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.9169, allocations: 22.81 kB / 1.009 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.9178, allocations: 239.7 kB / 1.009 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.9207, allocations: 0.9822 MB / 1.01 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.9234, allocations: 0.8614 MB / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.9254, allocations: 0.9788 MB / 1.012 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006397/0.926, allocations: 267.7 kB / 1.012 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.9271, allocations: 471.4 kB / 1.013 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.9277, allocations: 340.2 kB / 1.013 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.9277, allocations: 34.28 kB / 1.013 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.9301, allocations: 1.075 MB / 1.014 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.9303, allocations: 150.7 kB / 1.014 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.9306, allocations: 237.9 kB / 1.015 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.9323, allocations: 0.9061 MB / 1.015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9323, allocations: 2.094 kB / 1.015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9323, allocations: 3.188 kB / 1.015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.9324, allocations: 0.875 kB / 1.015 GB, free: 3.207 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.00149/0.9338, allocations: 0.7418 MB / 1.016 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9339, allocations: 15.06 kB / 1.016 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.9339, allocations: 8.219 kB / 1.016 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/0.934, allocations: 67.45 kB / 1.016 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.9353, allocations: 184.1 kB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.9359, allocations: 332.4 kB / 1.017 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.936, allocations: 22.34 kB / 1.017 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.936, allocations: 31 kB / 1.017 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.9366, allocations: 375.7 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.9366, allocations: 0 / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.9367, allocations: 11.59 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.9367, allocations: 13.59 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.9372, allocations: 262.3 kB / 1.017 GB, free: 18.38 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.001971/0.9392, allocations: 1.638 MB / 1.019 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.9395, allocations: 196.6 kB / 1.019 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.9398, allocations: 105.8 kB / 1.019 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/0.9404, allocations: 130 kB / 1.019 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.9405, allocations: 36.41 kB / 1.02 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 2.414e-06/0.9405, allocations: 2.172 kB / 1.02 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009142/0.9414, allocations: 355.9 kB / 1.02 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.9414, allocations: 54.38 kB / 1.02 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.9418, allocations: 425.4 kB / 1.02 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.9419, allocations: 31.7 kB / 1.02 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.942, allocations: 222.6 kB / 1.021 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.9421, allocations: 82.53 kB / 1.021 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.9421, allocations: 50.14 kB / 1.021 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9423, allocations: 352.2 kB / 1.021 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.9425, allocations: 84.33 kB / 1.021 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.9426, allocations: 121.4 kB / 1.021 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.943, allocations: 211.5 kB / 1.021 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.943, allocations: 0.5625 kB / 1.021 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005026/0.9435, allocations: 287.8 kB / 1.022 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.9435, allocations: 5.781 kB / 1.022 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9435, allocations: 4.844 kB / 1.022 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9435, allocations: 2.469 kB / 1.022 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.9438, allocations: 49.36 kB / 1.022 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.9438, allocations: 6.344 kB / 1.022 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.944, allocations: 32.59 kB / 1.022 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.9441, allocations: 15.84 kB / 1.022 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.0001818/0.9443, allocations: 158.6 kB / 1.022 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.9443, allocations: 47.34 kB / 1.022 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/0.9449, allocations: 293.1 kB / 1.022 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.9449, allocations: 2.25 kB / 1.022 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9449, allocations: 1.062 kB / 1.022 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9449, allocations: 6.844 kB / 1.022 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.9461, allocations: 0.7744 MB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9461, allocations: 5.906 kB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.9463, allocations: 48.09 kB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9463, allocations: 6.797 kB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.9464, allocations: 6.594 kB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.9464, allocations: 6.078 kB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9464, allocations: 1.688 kB / 1.023 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.9471, allocations: 0.5124 MB / 1.024 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.9473, allocations: 69.06 kB / 1.024 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.9473, allocations: 7.688 kB / 1.024 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.9476, allocations: 16.25 kB / 1.024 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.9477, allocations: 19.48 kB / 1.024 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.9477, allocations: 13.39 kB / 1.024 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003089/0.948, allocations: 297.8 kB / 1.024 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.948, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005258/0.9485, allocations: 127.6 kB / 1.024 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.00127/0.9498, allocations: 1.12 MB / 1.025 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.9502, allocations: 203.9 kB / 1.025 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9502, allocations: 4.906 kB / 1.025 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.9504, allocations: 108.6 kB / 1.026 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.9516, allocations: 234.2 kB / 1.026 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.9562, allocations: 3.689 MB / 1.029 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.9567, allocations: 0.8299 MB / 1.03 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.9571, allocations: 89.3 kB / 1.03 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.9573, allocations: 139.8 kB / 1.03 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.9573, allocations: 0 / 1.03 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.9941, allocations: 12.41 MB / 1.043 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.68, allocations: 6.219 kB / 1.043 GB, free: 11.02 MB / 0.7325 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.047005853964947] Failed to read output from testmodel.py, exit status != 0: 12.850928200001363 12.876006561 11.938587255 Calling exit ...