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.001552/0.001552, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001886/0.001886, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.992 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.002643/0.002643, allocations: 286.9 kB / 312.7 MB, free: 2.801 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.209/1.209, allocations: 180.6 MB / 0.537 GB, free: 12.87 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.00278/0.00278, allocations: 97.5 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1867, allocations: 95.37 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6621/0.8488, allocations: 177.5 MB / 1.006 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.8529, allocations: 2.317 MB / 1.008 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.8535, allocations: 21.53 kB / 1.008 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.8543, allocations: 241.4 kB / 1.009 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.8569, allocations: 0.9774 MB / 1.01 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.8594, allocations: 0.8694 MB / 1.01 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.8612, allocations: 0.9779 MB / 1.011 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.8617, allocations: 263.6 kB / 1.012 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008597/0.8625, allocations: 474.4 kB / 1.012 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.863, allocations: 337.3 kB / 1.012 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.863, allocations: 32.59 kB / 1.012 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.8651, allocations: 1.072 MB / 1.013 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.8653, allocations: 156.4 kB / 1.014 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.8655, allocations: 239.1 kB / 1.014 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.8668, allocations: 0.9054 MB / 1.015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8668, allocations: 1.203 kB / 1.015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8668, allocations: 0.5312 kB / 1.015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8668, allocations: 2.297 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.001315/0.8681, allocations: 0.7495 MB / 1.015 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8682, allocations: 11.55 kB / 1.015 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.8683, allocations: 64.55 kB / 1.016 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8694, allocations: 184.7 kB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.8701, allocations: 329 kB / 1.016 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.8701, allocations: 24.91 kB / 1.016 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.8702, allocations: 34.94 kB / 1.016 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.8707, allocations: 367.9 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.8707, allocations: 1.281 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.8708, allocations: 12.88 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.8708, allocations: 13.11 kB / 1.016 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.8713, allocations: 266.6 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.00179/0.873, allocations: 1.635 MB / 1.018 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.8734, allocations: 202 kB / 1.019 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.8736, allocations: 106 kB / 1.019 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/0.8743, allocations: 133.5 kB / 1.019 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8743, allocations: 37.28 kB / 1.019 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.8743, allocations: 3.406 kB / 1.019 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007937/0.8751, allocations: 352 kB / 1.019 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.8751, allocations: 59.08 kB / 1.019 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.8755, allocations: 425.3 kB / 1.02 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.8756, allocations: 30.8 kB / 1.02 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.8757, allocations: 215.8 kB / 1.02 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.8758, allocations: 83.8 kB / 1.02 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.8758, allocations: 54.7 kB / 1.02 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.876, allocations: 352.2 kB / 1.02 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.8762, allocations: 80.22 kB / 1.02 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.8764, allocations: 130.4 kB / 1.02 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.8767, allocations: 203.6 kB / 1.021 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8767, allocations: 2.531 kB / 1.021 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004449/0.8771, allocations: 285.4 kB / 1.021 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8772, allocations: 5.562 kB / 1.021 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8772, allocations: 0.9375 kB / 1.021 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8772, allocations: 3.625 kB / 1.021 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.8774, allocations: 54.77 kB / 1.021 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.8774, allocations: 2.656 kB / 1.021 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.8776, allocations: 33.88 kB / 1.021 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.8776, allocations: 14.59 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.0001704/0.8778, allocations: 160.2 kB / 1.021 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.8779, allocations: 48.83 kB / 1.021 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.8784, allocations: 291.1 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8784, allocations: 4.562 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8784, allocations: 0 / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8784, allocations: 5.094 kB / 1.022 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.8795, allocations: 0.7769 MB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8795, allocations: 5.359 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.8797, allocations: 46.8 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.8797, allocations: 3.625 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.8797, allocations: 7.875 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.8797, allocations: 6.656 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8797, allocations: 3.5 kB / 1.022 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.8804, allocations: 0.5162 MB / 1.023 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.8806, allocations: 62.75 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.8806, allocations: 11.14 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.8809, allocations: 14.84 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.8809, allocations: 21.62 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.8809, allocations: 10.56 kB / 1.023 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002948/0.8812, allocations: 303.6 kB / 1.023 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8812, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004468/0.8817, allocations: 125 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.001173/0.8828, allocations: 1.116 MB / 1.024 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.8833, allocations: 212.2 kB / 1.025 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8833, allocations: 0.875 kB / 1.025 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.8835, allocations: 106.3 kB / 1.025 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.0009894/0.8844, allocations: 231.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.004262/0.8887, allocations: 3.692 MB / 1.029 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.8892, allocations: 0.8284 MB / 1.029 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.8894, allocations: 77.92 kB / 1.029 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.8896, allocations: 142.9 kB / 1.03 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8896, allocations: 3 kB / 1.03 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.9314, allocations: 12.38 MB / 1.042 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.37, allocations: 10.7 kB / 1.042 GB, free: 11.02 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 & /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: 16.472739468095824] Failed to read output from testmodel.py, exit status != 0: 12.483190860133618 12.503213974 11.632540342 Calling exit ...