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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 104.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.002389/0.002389, allocations: 284.2 kB / 303 MB, free: 9.512 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.21/1.21, allocations: 180.9 MB / 0.5261 GB, free: 14.57 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002659/0.002659, allocations: 112.5 kB / 0.7248 GB, free: 40.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1699, allocations: 94.15 MB / 0.8167 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1976/0.3676, allocations: 174.4 MB / 0.987 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.3718, allocations: 2.308 MB / 0.9893 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.3724, allocations: 11.94 kB / 0.9893 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.3733, allocations: 242.3 kB / 0.9895 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.3756, allocations: 0.9723 MB / 0.9905 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.3777, allocations: 0.8388 MB / 0.9913 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.379, allocations: 0.9662 MB / 0.9922 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.3795, allocations: 279.5 kB / 0.9925 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.3801, allocations: 466.3 kB / 0.9929 GB, free: 240 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.3806, allocations: 330.7 kB / 0.9932 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.3806, allocations: 32 kB / 0.9933 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.3823, allocations: 1.06 MB / 0.9943 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3825, allocations: 147.5 kB / 0.9945 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3827, allocations: 238.8 kB / 0.9947 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.384, allocations: 0.9071 MB / 0.9956 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.384, allocations: 0 / 0.9956 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.057e-06/0.384, allocations: 4 kB / 0.9956 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.384, allocations: 3.984 kB / 0.9956 GB, free: 13.52 MB / 0.7481 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.001286/0.3853, allocations: 0.8169 MB / 0.9964 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3853, allocations: 12.03 kB / 0.9964 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/0.3854, allocations: 66.53 kB / 0.9964 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.3866, allocations: 191.4 kB / 0.9966 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.3873, allocations: 389.7 kB / 0.997 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3873, allocations: 20.66 kB / 0.997 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.3873, allocations: 36 kB / 0.9971 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.3879, allocations: 369.1 kB / 0.9974 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.388, allocations: 0 / 0.9974 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.388, allocations: 15.94 kB / 0.9974 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.388, allocations: 12 kB / 0.9974 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.3885, allocations: 266 kB / 0.9977 GB, free: 11.22 MB / 0.7481 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.001892/0.3904, allocations: 1.676 MB / 0.9993 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.3908, allocations: 188.2 kB / 0.9995 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.391, allocations: 112.6 kB / 0.9996 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.392, allocations: 0.8662 MB / 1 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3921, allocations: 34.56 kB / 1 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.3921, allocations: 0 / 1 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008749/0.3929, allocations: 366.3 kB / 1.001 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.393, allocations: 51.41 kB / 1.001 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.3935, allocations: 429.9 kB / 1.001 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.3935, allocations: 25.7 kB / 1.001 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3936, allocations: 212.6 kB / 1.002 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/0.3937, allocations: 95.16 kB / 1.002 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.3938, allocations: 53.7 kB / 1.002 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.394, allocations: 358.7 kB / 1.002 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.3941, allocations: 75.95 kB / 1.002 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.3944, allocations: 120.1 kB / 1.002 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.3947, allocations: 214.7 kB / 1.002 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3948, allocations: 0 / 1.002 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000508/0.3953, allocations: 285.1 kB / 1.003 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3953, allocations: 8 kB / 1.003 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3953, allocations: 0 / 1.003 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3953, allocations: 8.031 kB / 1.003 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3955, allocations: 59.91 kB / 1.003 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3955, allocations: 3.938 kB / 1.003 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3957, allocations: 31.77 kB / 1.003 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3958, allocations: 8 kB / 1.003 GB, free: 5.578 MB / 0.7481 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.0001601/0.3959, allocations: 157.8 kB / 1.003 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.396, allocations: 43.72 kB / 1.003 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/0.3966, allocations: 294.7 kB / 1.003 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3966, allocations: 0 / 1.003 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3966, allocations: 7.938 kB / 1.003 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3966, allocations: 3.984 kB / 1.003 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3978, allocations: 0.8075 MB / 1.004 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3978, allocations: 4 kB / 1.004 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.398, allocations: 47.92 kB / 1.004 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.398, allocations: 0 / 1.004 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.398, allocations: 4 kB / 1.004 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.3981, allocations: 11.97 kB / 1.004 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3981, allocations: 192 / 1.004 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.3988, allocations: 0.5104 MB / 1.005 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.399, allocations: 149 kB / 1.005 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.399, allocations: 8 kB / 1.005 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.3993, allocations: 15.98 kB / 1.005 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3993, allocations: 23.89 kB / 1.005 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3994, allocations: 16 kB / 1.005 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003195/0.3997, allocations: 303.1 kB / 1.005 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.3997, allocations: 0 / 1.005 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004204/0.4001, allocations: 119.7 kB / 1.005 GB, free: 2.934 MB / 0.7481 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.001385/0.4015, allocations: 1.141 MB / 1.006 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.4019, allocations: 202 kB / 1.007 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.402, allocations: 0 / 1.007 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.4022, allocations: 111.9 kB / 1.007 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4032, allocations: 223.8 kB / 1.007 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3453/0.7485, allocations: 3.68 MB / 1.01 GB, free: 192 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.7488, allocations: 0.8232 MB / 1.011 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.7492, allocations: 84.19 kB / 1.011 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.7494, allocations: 138.3 kB / 1.011 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of SimCode: time 1.333e-06/0.7494, allocations: 0 / 1.011 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.79, allocations: 12.2 MB / 1.023 GB, free: 187.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/9.322, allocations: 14.42 kB / 1.023 GB, free: 187.5 MB / 0.7481 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: 13.349698714911938] Failed to read output from testmodel.py, exit status != 0: 9.39381748996675 9.402227196 9.01619418 Calling exit ...