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.0009493/0.0009493, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001339/0.001339, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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.054/1.054, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001641/0.001641, allocations: 238.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.7449/0.7449, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.563e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5547/0.5548, allocations: 153.4 MB / 0.796 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.5587, allocations: 2.188 MB / 0.7982 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.5592, allocations: 15.88 kB / 0.7982 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.5607, allocations: 234.3 kB / 0.7984 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.5633, allocations: 0.9637 MB / 0.7994 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.5654, allocations: 0.8874 MB / 0.8002 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.5666, allocations: 0.9782 MB / 0.8012 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.567, allocations: 274.9 kB / 0.8014 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/0.5678, allocations: 0.5765 MB / 0.802 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.5682, allocations: 283.1 kB / 0.8023 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.5682, allocations: 36 kB / 0.8023 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5698, allocations: 0.841 MB / 0.8031 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.5699, allocations: 159.5 kB / 0.8033 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.5701, allocations: 167.6 kB / 0.8034 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.5711, allocations: 0.9154 MB / 0.8043 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5711, allocations: 0 / 0.8043 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5711, allocations: 4 kB / 0.8043 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5711, allocations: 0 / 0.8043 GB, free: 9.188 MB / 0.6355 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.001021/0.5721, allocations: 0.742 MB / 0.8051 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5722, allocations: 13.94 kB / 0.8051 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.5722, allocations: 67.19 kB / 0.8051 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.5733, allocations: 179.4 kB / 0.8053 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.5739, allocations: 331.9 kB / 0.8056 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.574, allocations: 24.66 kB / 0.8057 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.574, allocations: 28 kB / 0.8057 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.5745, allocations: 424.4 kB / 0.8061 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5746, allocations: 7.938 kB / 0.8061 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.5746, allocations: 12.66 kB / 0.8061 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.5746, allocations: 12 kB / 0.8061 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.575, allocations: 261.7 kB / 0.8064 GB, free: 7.008 MB / 0.6355 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.001285/0.5762, allocations: 1.312 MB / 0.8076 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.5765, allocations: 195.1 kB / 0.8078 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.5767, allocations: 108.8 kB / 0.8079 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003913/0.5771, allocations: 123.9 kB / 0.8081 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.5771, allocations: 42.41 kB / 0.8081 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/0.5771, allocations: 0 / 0.8081 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0006116/0.5777, allocations: 357.6 kB / 0.8084 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.5777, allocations: 55.41 kB / 0.8085 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.5781, allocations: 422 kB / 0.8089 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5781, allocations: 29.7 kB / 0.8089 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5782, allocations: 216.4 kB / 0.8091 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.5783, allocations: 87.2 kB / 0.8092 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.5783, allocations: 53.66 kB / 0.8093 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5785, allocations: 362.7 kB / 0.8096 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5786, allocations: 75.95 kB / 0.8097 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.5787, allocations: 177.3 kB / 0.8098 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.579, allocations: 211.3 kB / 0.81 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.579, allocations: 0 / 0.81 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003313/0.5793, allocations: 282 kB / 0.8103 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5793, allocations: 4 kB / 0.8103 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5794, allocations: 4 kB / 0.8103 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5794, allocations: 0 / 0.8103 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5795, allocations: 51.91 kB / 0.8104 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.5795, allocations: 4.109 kB / 0.8104 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.5796, allocations: 39.66 kB / 0.8104 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.5797, allocations: 15.94 kB / 0.8104 GB, free: 2.664 MB / 0.6355 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.0001299/0.5798, allocations: 159.1 kB / 0.8106 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.5798, allocations: 51.72 kB / 0.8106 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.5802, allocations: 279.7 kB / 0.8109 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5802, allocations: 4 kB / 0.8109 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5802, allocations: 0 / 0.8109 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5802, allocations: 3.984 kB / 0.8109 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/0.5811, allocations: 0.7407 MB / 0.8116 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5811, allocations: 4 kB / 0.8116 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.5812, allocations: 51.91 kB / 0.8117 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5812, allocations: 3.938 kB / 0.8117 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5812, allocations: 8 kB / 0.8117 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.5812, allocations: 5.125 kB / 0.8117 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5812, allocations: 4 kB / 0.8117 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.5821, allocations: 0.5024 MB / 0.8122 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5822, allocations: 76.59 kB / 0.8123 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.5822, allocations: 4 kB / 0.8123 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5823, allocations: 15.98 kB / 0.8123 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.5824, allocations: 23.91 kB / 0.8123 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5824, allocations: 8 kB / 0.8123 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002146/0.5826, allocations: 305.8 kB / 0.8126 GB, free: 340 kB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5826, allocations: 0 / 0.8126 GB, free: 340 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003175/0.5829, allocations: 115.8 kB / 0.8127 GB, free: 224 kB / 0.6355 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.0008895/0.5838, allocations: 1.123 MB / 0.8138 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.5841, allocations: 210 kB / 0.814 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5841, allocations: 0 / 0.814 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.5843, allocations: 108.6 kB / 0.8141 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.5851, allocations: 236.3 kB / 0.8143 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.5891, allocations: 3.621 MB / 0.8179 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.5893, allocations: 224 kB / 0.8181 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002811/0.5896, allocations: 81.59 kB / 0.8182 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.5898, allocations: 144.5 kB / 0.8183 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of SimCode: time 2.024e-06/0.5898, allocations: 0 / 0.8183 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.6303, allocations: 13.66 MB / 0.8317 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.8, allocations: 7.875 kB / 0.8317 GB, free: 13.1 MB / 0.6667 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 & /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: 11.909578330814838] Failed to read output from testmodel.py, exit status != 0: 8.888709293678403 8.901534083 8.327303636 Calling exit ...