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.001724/0.001724, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002273/0.002273, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.746 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.002547/0.002547, allocations: 288.5 kB / 312.7 MB, free: 2.574 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.193/1.193, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.002896/0.002896, allocations: 99.2 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1549, allocations: 95.39 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5511/0.706, allocations: 153.4 MB / 0.9825 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003459/0.7094, allocations: 2.166 MB / 0.9846 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003051/0.7097, allocations: 21.38 kB / 0.9846 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.7103, allocations: 237.2 kB / 0.9848 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.7122, allocations: 0.9521 MB / 0.9858 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.7142, allocations: 0.8427 MB / 0.9866 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.7154, allocations: 0.9758 MB / 0.9876 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.7158, allocations: 256.5 kB / 0.9878 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.7165, allocations: 483.8 kB / 0.9883 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.7169, allocations: 312.6 kB / 0.9886 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.717, allocations: 34.59 kB / 0.9886 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.7185, allocations: 0.8234 MB / 0.9894 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.7187, allocations: 158 kB / 0.9895 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.7189, allocations: 197.7 kB / 0.9897 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.7202, allocations: 0.8772 MB / 0.9906 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7202, allocations: 0.8438 kB / 0.9906 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7202, allocations: 2.406 kB / 0.9906 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.7202, allocations: 0.6875 kB / 0.9906 GB, free: 3.559 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.001261/0.7215, allocations: 0.7472 MB / 0.9913 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7215, allocations: 10 kB / 0.9913 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.7216, allocations: 68.11 kB / 0.9914 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7228, allocations: 183.9 kB / 0.9916 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.7234, allocations: 337.7 kB / 0.9919 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7234, allocations: 22.41 kB / 0.9919 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.7235, allocations: 27.97 kB / 0.9919 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.7241, allocations: 426.3 kB / 0.9923 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7241, allocations: 0 / 0.9923 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.7241, allocations: 17.44 kB / 0.9924 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.7242, allocations: 10.22 kB / 0.9924 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.7246, allocations: 256.9 kB / 0.9926 GB, free: 18.68 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.001612/0.7262, allocations: 1.324 MB / 0.9939 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.7266, allocations: 196.9 kB / 0.9941 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.7268, allocations: 115.5 kB / 0.9942 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.7275, allocations: 127.4 kB / 0.9943 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.7276, allocations: 37.33 kB / 0.9944 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.7276, allocations: 0.8125 kB / 0.9944 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009179/0.7285, allocations: 359.6 kB / 0.9947 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.7285, allocations: 54.69 kB / 0.9948 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.729, allocations: 418.6 kB / 0.9952 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.729, allocations: 31.42 kB / 0.9952 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.7292, allocations: 218 kB / 0.9954 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.7292, allocations: 82.95 kB / 0.9955 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.7293, allocations: 54.73 kB / 0.9955 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.7295, allocations: 350.4 kB / 0.9959 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.7297, allocations: 78.25 kB / 0.9959 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.7299, allocations: 182.2 kB / 0.9961 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.7303, allocations: 218.6 kB / 0.9963 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7303, allocations: 0.9688 kB / 0.9963 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005411/0.7309, allocations: 282.8 kB / 0.9966 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7309, allocations: 6.781 kB / 0.9966 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7309, allocations: 1.578 kB / 0.9966 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.7309, allocations: 2.719 kB / 0.9966 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.7312, allocations: 55.17 kB / 0.9967 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7312, allocations: 2.719 kB / 0.9967 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.7314, allocations: 31.95 kB / 0.9967 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.7314, allocations: 9.969 kB / 0.9967 GB, free: 16.85 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.0001889/0.7316, allocations: 169.6 kB / 0.9969 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.7317, allocations: 45.06 kB / 0.9969 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.7323, allocations: 283.5 kB / 0.9972 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7323, allocations: 4.141 kB / 0.9972 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7323, allocations: 0.875 kB / 0.9972 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7323, allocations: 1.219 kB / 0.9972 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.7337, allocations: 0.752 MB / 0.9979 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7337, allocations: 3.859 kB / 0.9979 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.7339, allocations: 47.33 kB / 0.998 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.7339, allocations: 6.875 kB / 0.998 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.7339, allocations: 7.594 kB / 0.998 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.734, allocations: 6.641 kB / 0.998 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.734, allocations: 2.438 kB / 0.998 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.7348, allocations: 0.5063 MB / 0.9985 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.735, allocations: 70.31 kB / 0.9985 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.735, allocations: 6.625 kB / 0.9986 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.7353, allocations: 18.05 kB / 0.9986 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.7354, allocations: 22.8 kB / 0.9986 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.7354, allocations: 8.984 kB / 0.9986 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000416/0.7358, allocations: 300.3 kB / 0.9989 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7358, allocations: 0.875 kB / 0.9989 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005814/0.7364, allocations: 122.8 kB / 0.999 GB, free: 16 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.001438/0.7378, allocations: 1.117 MB / 1 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.7384, allocations: 196 kB / 1 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7384, allocations: 1.5 kB / 1 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.7386, allocations: 110.9 kB / 1 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.7398, allocations: 238.5 kB / 1.001 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/0.7446, allocations: 3.695 MB / 1.004 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.7448, allocations: 221.2 kB / 1.004 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000334/0.7451, allocations: 82.83 kB / 1.005 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.7453, allocations: 136.5 kB / 1.005 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.7453, allocations: 2.5 kB / 1.005 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.7866, allocations: 13.58 MB / 1.018 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.88, allocations: 5.234 kB / 1.018 GB, free: 11.81 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: 15.955107111949474] Failed to read output from testmodel.py, exit status != 0: 11.992038656026125 12.004150803 11.281215948 Calling exit ...