Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001444/0.001444, allocations: 115 kB / 19.7 MB, free: 2.043 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.001595/0.001595, allocations: 225.4 kB / 23.01 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9474/0.9474, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002085/0.002085, allocations: 62.09 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.161, allocations: 89.17 MB / 0.7283 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5321/0.6931, allocations: 177.6 MB / 0.9017 GB, free: 5.789 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004551/0.6977, allocations: 2.475 MB / 0.9042 GB, free: 3.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.6983, allocations: 15.88 kB / 0.9042 GB, free: 3.293 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.6992, allocations: 242.3 kB / 0.9044 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.7018, allocations: 1.019 MB / 0.9054 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.7042, allocations: 0.8605 MB / 0.9062 GB, free: 1.176 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.7058, allocations: 0.9818 MB / 0.9072 GB, free: 196 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.7064, allocations: 271.5 kB / 0.9074 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.7078, allocations: 0.6189 MB / 0.9081 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.7085, allocations: 330.7 kB / 0.9084 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.7086, allocations: 36 kB / 0.9084 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.7108, allocations: 1.103 MB / 0.9095 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.711, allocations: 159.5 kB / 0.9096 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.7114, allocations: 246.8 kB / 0.9099 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.7134, allocations: 0.948 MB / 0.9108 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7134, allocations: 0 / 0.9108 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7134, allocations: 0 / 0.9108 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.7134, allocations: 0 / 0.9108 GB, free: 12.49 MB / 0.6856 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.001567/0.715, allocations: 0.761 MB / 0.9115 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.715, allocations: 12.03 kB / 0.9115 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.424e-05/0.7151, allocations: 58.55 kB / 0.9116 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.7169, allocations: 235.4 kB / 0.9118 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.7176, allocations: 331.8 kB / 0.9121 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.7177, allocations: 28.64 kB / 0.9122 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.7178, allocations: 28 kB / 0.9122 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/0.7186, allocations: 404.9 kB / 0.9126 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.7186, allocations: 0 / 0.9126 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.7186, allocations: 15.94 kB / 0.9126 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.7187, allocations: 15.94 kB / 0.9126 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.7194, allocations: 310.7 kB / 0.9129 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.7217, allocations: 1.689 MB / 0.9146 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.7225, allocations: 266.4 kB / 0.9148 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.7228, allocations: 132.7 kB / 0.9149 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004966/0.7233, allocations: 79.89 kB / 0.915 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.7233, allocations: 39.19 kB / 0.9151 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.993e-06/0.7233, allocations: 0 / 0.9151 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.001304/0.7246, allocations: 425 kB / 0.9155 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.7247, allocations: 55.41 kB / 0.9155 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.7252, allocations: 429.9 kB / 0.9159 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.7253, allocations: 33.7 kB / 0.916 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.7254, allocations: 212.5 kB / 0.9162 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.7256, allocations: 79.28 kB / 0.9162 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.7257, allocations: 49.7 kB / 0.9163 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.7259, allocations: 366.7 kB / 0.9166 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.7262, allocations: 99.92 kB / 0.9167 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.7265, allocations: 156.3 kB / 0.9169 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.7272, allocations: 258.4 kB / 0.9171 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.7272, allocations: 0.5 kB / 0.9171 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000825/0.728, allocations: 345 kB / 0.9175 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.728, allocations: 4 kB / 0.9175 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.728, allocations: 0 / 0.9175 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.728, allocations: 4 kB / 0.9175 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.7284, allocations: 61.94 kB / 0.9175 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.7284, allocations: 7.922 kB / 0.9175 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.7287, allocations: 39.77 kB / 0.9176 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.7287, allocations: 12 kB / 0.9176 GB, free: 5.223 MB / 0.6856 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.0002126/0.7289, allocations: 167.7 kB / 0.9177 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.729, allocations: 47.72 kB / 0.9178 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.7299, allocations: 336.2 kB / 0.9181 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.7299, allocations: 4 kB / 0.9181 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7299, allocations: 4.625 kB / 0.9181 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.7299, allocations: 0 / 0.9181 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.7316, allocations: 0.8692 MB / 0.919 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7316, allocations: 0 / 0.919 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.7319, allocations: 60.09 kB / 0.919 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.7319, allocations: 10.42 kB / 0.919 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.7319, allocations: 8 kB / 0.919 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.732, allocations: 3.938 kB / 0.919 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.732, allocations: 4 kB / 0.919 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.7331, allocations: 0.5883 MB / 0.9196 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.7333, allocations: 75.72 kB / 0.9197 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.7334, allocations: 8 kB / 0.9197 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.7338, allocations: 23.97 kB / 0.9197 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.7338, allocations: 27.81 kB / 0.9197 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.7339, allocations: 11.98 kB / 0.9198 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003623/0.7342, allocations: 303.1 kB / 0.92 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7342, allocations: 0 / 0.92 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004872/0.7347, allocations: 119.8 kB / 0.9202 GB, free: 2.465 MB / 0.6856 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.001735/0.7365, allocations: 1.188 MB / 0.9213 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007407/0.7372, allocations: 252 kB / 0.9216 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.7372, allocations: 0 / 0.9216 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.7376, allocations: 136 kB / 0.9217 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.7388, allocations: 231.2 kB / 0.9219 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.7452, allocations: 3.875 MB / 0.9257 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.7457, allocations: 0.8233 MB / 0.9265 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003543/0.7461, allocations: 91.33 kB / 0.9266 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.7463, allocations: 147.3 kB / 0.9267 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of SimCode: time 6.32e-07/0.7463, allocations: 0 / 0.9267 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.7942, allocations: 12.72 MB / 0.9392 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.18, allocations: 8.344 kB / 0.9392 GB, free: 15.11 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.881526249926537] Failed to read output from testmodel.py, exit status != 0: 12.290343923028558 12.316583803 11.598362757 Calling exit ...