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.002253/0.002253, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002722/0.002722, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002511/0.002511, allocations: 288.7 kB / 309.8 MB, free: 3.438 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.097/1.097, allocations: 180.6 MB / 0.5338 GB, free: 12.33 MB / 398.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="cs",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.002981/0.002981, allocations: 103.8 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6259, allocations: 95.34 MB / 0.8278 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.2492/0.8751, allocations: 177.3 MB / 1.001 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.8795, allocations: 2.303 MB / 1.003 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.8801, allocations: 19.81 kB / 1.003 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008764/0.881, allocations: 242.4 kB / 1.003 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.8835, allocations: 0.9762 MB / 1.004 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.8858, allocations: 0.8304 MB / 1.005 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.8872, allocations: 0.97 MB / 1.006 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.8877, allocations: 277.9 kB / 1.006 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000829/0.8886, allocations: 470.3 kB / 1.007 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.889, allocations: 338.6 kB / 1.007 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.8891, allocations: 35.98 kB / 1.007 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.8911, allocations: 1.052 MB / 1.008 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.8913, allocations: 151.5 kB / 1.008 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.8915, allocations: 238.8 kB / 1.009 GB, free: 328 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.893, allocations: 0.9071 MB / 1.009 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8931, allocations: 0 / 1.009 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8931, allocations: 0 / 1.009 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.8931, allocations: 0 / 1.009 GB, free: 15.41 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.001415/0.8945, allocations: 0.8247 MB / 1.01 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.8945, allocations: 8.031 kB / 1.01 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.211e-05/0.8946, allocations: 8.656 kB / 1.01 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.115e-05/0.8946, allocations: 78.45 kB / 1.01 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.8959, allocations: 179.5 kB / 1.011 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.8966, allocations: 389.8 kB / 1.011 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.8966, allocations: 20.66 kB / 1.011 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.8967, allocations: 32 kB / 1.011 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.8973, allocations: 369.1 kB / 1.011 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.8974, allocations: 0 / 1.011 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.8974, allocations: 19.92 kB / 1.011 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.8974, allocations: 8 kB / 1.011 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.898, allocations: 262 kB / 1.012 GB, free: 13.11 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.001973/0.8999, allocations: 1.683 MB / 1.013 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.9004, allocations: 198.3 kB / 1.013 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.9006, allocations: 104.8 kB / 1.014 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.9017, allocations: 0.8779 MB / 1.014 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.9017, allocations: 34.56 kB / 1.014 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.9017, allocations: 0 / 1.014 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0009668/0.9027, allocations: 361 kB / 1.015 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.9027, allocations: 51.41 kB / 1.015 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.9032, allocations: 422 kB / 1.015 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.9033, allocations: 29.7 kB / 1.015 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.9034, allocations: 224.4 kB / 1.015 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.9035, allocations: 83.27 kB / 1.016 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.9036, allocations: 49.7 kB / 1.016 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.9038, allocations: 354.7 kB / 1.016 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.904, allocations: 75.95 kB / 1.016 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.9042, allocations: 125.9 kB / 1.016 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.9046, allocations: 205.5 kB / 1.016 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9046, allocations: 0 / 1.016 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005638/0.9052, allocations: 293.1 kB / 1.017 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.9052, allocations: 12.05 kB / 1.017 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9052, allocations: 0 / 1.017 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9052, allocations: 4 kB / 1.017 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.9055, allocations: 51.92 kB / 1.017 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.9055, allocations: 3.938 kB / 1.017 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.9057, allocations: 39.72 kB / 1.017 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.9057, allocations: 8 kB / 1.017 GB, free: 7.465 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.0001779/0.9059, allocations: 157.8 kB / 1.017 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.906, allocations: 47.77 kB / 1.017 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006174/0.9066, allocations: 288.8 kB / 1.017 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.9066, allocations: 7.938 kB / 1.017 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9066, allocations: 0 / 1.017 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9066, allocations: 0 / 1.017 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.908, allocations: 0.8152 MB / 1.018 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.908, allocations: 0 / 1.018 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.9082, allocations: 52.02 kB / 1.018 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.9082, allocations: 3.938 kB / 1.018 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.9082, allocations: 8.188 kB / 1.018 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.9082, allocations: 4 kB / 1.018 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9082, allocations: 4 kB / 1.018 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.9091, allocations: 0.5117 MB / 1.019 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.9092, allocations: 144.8 kB / 1.019 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.9093, allocations: 11.98 kB / 1.019 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.9096, allocations: 19.98 kB / 1.019 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.9096, allocations: 19.92 kB / 1.019 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.9097, allocations: 12 kB / 1.019 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003431/0.91, allocations: 299.1 kB / 1.019 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.91, allocations: 0 / 1.019 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004718/0.9105, allocations: 119.8 kB / 1.019 GB, free: 4.816 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.001358/0.9118, allocations: 1.114 MB / 1.02 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.9123, allocations: 206.3 kB / 1.02 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9123, allocations: 3.938 kB / 1.02 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.9126, allocations: 115.8 kB / 1.021 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9137, allocations: 226.2 kB / 1.021 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.9189, allocations: 3.708 MB / 1.024 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.9194, allocations: 0.8194 MB / 1.025 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000318/0.9197, allocations: 83.34 kB / 1.025 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.9199, allocations: 143.4 kB / 1.025 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of SimCode: time 4.61e-07/0.9199, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.955, allocations: 12.17 MB / 1.037 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/10.3, allocations: 4.656 kB / 1.037 GB, free: 2.297 MB / 0.7637 GB " [Timeout remaining time 650] (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: 14.624025400029495] Failed to read output from testmodel.py, exit status != 0: 10.433372213039547 10.457579791 9.56022606 Calling exit ...