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.001339/0.001339, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00149/0.00149, allocations: 167 kB / 22.46 MB, free: 5.359 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.002532/0.002532, allocations: 238.6 kB / 259.4 MB, free: 484 kB / 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.083/1.083, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.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: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.326e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.3992/0.3992, allocations: 153.4 MB / 0.7966 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004074/0.4033, allocations: 2.179 MB / 0.7987 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.4037, allocations: 15.88 kB / 0.7987 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.4044, allocations: 234.3 kB / 0.7989 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.4067, allocations: 0.9677 MB / 0.7999 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.409, allocations: 0.8829 MB / 0.8007 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.4103, allocations: 0.9815 MB / 0.8017 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.4108, allocations: 266.7 kB / 0.8019 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.4118, allocations: 0.5842 MB / 0.8025 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.4122, allocations: 283.1 kB / 0.8028 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.4123, allocations: 32 kB / 0.8028 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.4139, allocations: 0.8333 MB / 0.8036 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.4141, allocations: 167.4 kB / 0.8038 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.4143, allocations: 167.6 kB / 0.8039 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.4158, allocations: 0.9192 MB / 0.8048 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4158, allocations: 0 / 0.8048 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4158, allocations: 0 / 0.8048 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4158, allocations: 7.844 kB / 0.8048 GB, free: 14.57 MB / 0.6387 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.001348/0.4171, allocations: 0.7377 MB / 0.8056 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4172, allocations: 9.344 kB / 0.8056 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.4185, allocations: 187.4 kB / 0.8058 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.4191, allocations: 319.9 kB / 0.8061 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.4192, allocations: 24.66 kB / 0.8061 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.4192, allocations: 32 kB / 0.8061 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.4199, allocations: 424.4 kB / 0.8065 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4199, allocations: 0 / 0.8065 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.42, allocations: 16 kB / 0.8065 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.42, allocations: 8 kB / 0.8065 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.4206, allocations: 253.8 kB / 0.8068 GB, free: 12.49 MB / 0.6387 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.001756/0.4223, allocations: 1.249 MB / 0.808 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.4227, allocations: 190.5 kB / 0.8082 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.423, allocations: 112.7 kB / 0.8083 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/0.4237, allocations: 123.9 kB / 0.8084 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.381e-05/0.4238, allocations: 38.67 kB / 0.8084 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.4238, allocations: 3.938 kB / 0.8085 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23): time 0.0009788/0.4247, allocations: 352.4 kB / 0.8088 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4248, allocations: 55.41 kB / 0.8088 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.4252, allocations: 317.7 kB / 0.8091 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.4252, allocations: 29.7 kB / 0.8092 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.4254, allocations: 220.5 kB / 0.8094 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.4255, allocations: 95.25 kB / 0.8095 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4256, allocations: 57.59 kB / 0.8095 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4257, allocations: 338.8 kB / 0.8099 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.4259, allocations: 79.94 kB / 0.8099 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.4262, allocations: 168.2 kB / 0.8101 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.4267, allocations: 218.2 kB / 0.8103 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4267, allocations: 4.031 kB / 0.8103 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005703/0.4272, allocations: 269.3 kB / 0.8106 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4273, allocations: 9.094 kB / 0.8106 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4273, allocations: 0 / 0.8106 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4273, allocations: 0 / 0.8106 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.4275, allocations: 55.91 kB / 0.8106 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4275, allocations: 4 kB / 0.8106 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.4278, allocations: 23.88 kB / 0.8106 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.4278, allocations: 12.72 kB / 0.8107 GB, free: 8.363 MB / 0.6387 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.0001885/0.428, allocations: 165.7 kB / 0.8108 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.4281, allocations: 35.77 kB / 0.8108 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/0.4287, allocations: 275.3 kB / 0.8111 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4287, allocations: 6.344 kB / 0.8111 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4287, allocations: 0 / 0.8111 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4287, allocations: 96 / 0.8111 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.43, allocations: 0.7058 MB / 0.8118 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.43, allocations: 7.984 kB / 0.8118 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4302, allocations: 43.91 kB / 0.8119 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4302, allocations: 4 kB / 0.8119 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.4302, allocations: 8 kB / 0.8119 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4302, allocations: 4.188 kB / 0.8119 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4302, allocations: 7.938 kB / 0.8119 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/0.4311, allocations: 0.498 MB / 0.8124 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.4312, allocations: 59.72 kB / 0.8124 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.4313, allocations: 7.938 kB / 0.8124 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.4315, allocations: 23.73 kB / 0.8125 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.4316, allocations: 23.91 kB / 0.8125 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.4317, allocations: 15.98 kB / 0.8125 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002496/0.4319, allocations: 223.2 kB / 0.8127 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.4319, allocations: 0 / 0.8127 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004774/0.4324, allocations: 127.7 kB / 0.8128 GB, free: 6.043 MB / 0.6387 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.0003469/0.4327, allocations: 175.6 kB / 0.813 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.4332, allocations: 200.8 kB / 0.8132 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4332, allocations: 4 kB / 0.8132 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.4335, allocations: 107.8 kB / 0.8133 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009196/0.4344, allocations: 168.5 kB / 0.8135 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4359, allocations: 0.8089 MB / 0.8142 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.4362, allocations: 219.4 kB / 0.8145 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.4364, allocations: 73.98 kB / 0.8145 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.4365, allocations: 28.5 kB / 0.8145 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.4365, allocations: 0 / 0.8145 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.01415/0.4506, allocations: 6.573 MB / 0.821 GB, free: 13.88 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.118362225592136] Failed to read output from testmodel.py, exit status != 0: 0.45998434722423553 0.47483833699999994 0.055895119 Calling exit ...