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.001419/0.001419, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.002034/0.002034, allocations: 219.2 kB / 23.03 MB, free: 4.91 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002714/0.002714, allocations: 294 kB / 313.5 MB, free: 2.602 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.281/1.281, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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="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.002837/0.002837, allocations: 105.9 kB / 0.7402 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1857, allocations: 95.38 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6819/0.8676, allocations: 153.3 MB / 0.9831 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.8713, allocations: 2.166 MB / 0.9853 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.8718, allocations: 22.12 kB / 0.9853 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.8724, allocations: 235.7 kB / 0.9855 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.8746, allocations: 0.9408 MB / 0.9864 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.877, allocations: 0.8507 MB / 0.9872 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.8786, allocations: 0.9775 MB / 0.9882 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005173/0.8791, allocations: 269.1 kB / 0.9885 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009165/0.88, allocations: 478.5 kB / 0.9889 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.8805, allocations: 332.2 kB / 0.9892 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.8805, allocations: 39.97 kB / 0.9893 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.8822, allocations: 0.835 MB / 0.9901 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.8824, allocations: 154.6 kB / 0.9902 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.8826, allocations: 199.9 kB / 0.9904 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.884, allocations: 0.8813 MB / 0.9913 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.884, allocations: 0 / 0.9913 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.405e-06/0.884, allocations: 0.7969 kB / 0.9913 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.884, allocations: 1.094 kB / 0.9913 GB, free: 3.465 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.001435/0.8854, allocations: 0.744 MB / 0.992 GB, free: 19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.8855, allocations: 9.625 kB / 0.992 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.357e-05/0.8855, allocations: 10 kB / 0.992 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.737e-05/0.8855, allocations: 73.17 kB / 0.9921 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8868, allocations: 177.1 kB / 0.9923 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.8874, allocations: 341.2 kB / 0.9926 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.8874, allocations: 25.5 kB / 0.9926 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.8875, allocations: 29.5 kB / 0.9926 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.8881, allocations: 421.1 kB / 0.993 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.8881, allocations: 1.828 kB / 0.9931 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.8881, allocations: 16.38 kB / 0.9931 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.8882, allocations: 9.438 kB / 0.9931 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.8886, allocations: 266.3 kB / 0.9933 GB, free: 18.58 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.001637/0.8903, allocations: 1.316 MB / 0.9946 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.8906, allocations: 202.1 kB / 0.9948 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.8908, allocations: 112.2 kB / 0.9949 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.8916, allocations: 127.5 kB / 0.995 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8916, allocations: 37.14 kB / 0.9951 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.8916, allocations: 0 / 0.9951 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009308/0.8925, allocations: 356.1 kB / 0.9954 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.8926, allocations: 58.88 kB / 0.9955 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.8931, allocations: 423.7 kB / 0.9959 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.8931, allocations: 31.3 kB / 0.9959 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.8932, allocations: 214.5 kB / 0.9961 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.8933, allocations: 84.77 kB / 0.9962 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.8934, allocations: 52.28 kB / 0.9962 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.8936, allocations: 353.5 kB / 0.9966 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.8938, allocations: 78.53 kB / 0.9966 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.894, allocations: 181.4 kB / 0.9968 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.8944, allocations: 207.4 kB / 0.997 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8944, allocations: 1.5 kB / 0.997 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005707/0.895, allocations: 297.7 kB / 0.9973 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.895, allocations: 7.844 kB / 0.9973 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.895, allocations: 2.312 kB / 0.9973 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.895, allocations: 2.5 kB / 0.9973 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.8952, allocations: 51.16 kB / 0.9974 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.8953, allocations: 3.141 kB / 0.9974 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.8955, allocations: 32.75 kB / 0.9974 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.8955, allocations: 12.27 kB / 0.9974 GB, free: 16.75 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.0001914/0.8957, allocations: 166.7 kB / 0.9976 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.8958, allocations: 44.09 kB / 0.9976 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.8964, allocations: 287.2 kB / 0.9979 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.8964, allocations: 2.812 kB / 0.9979 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8964, allocations: 1.734 kB / 0.9979 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8964, allocations: 1.625 kB / 0.9979 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.8977, allocations: 0.7471 MB / 0.9986 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8977, allocations: 2.953 kB / 0.9986 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.898, allocations: 51.92 kB / 0.9987 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.898, allocations: 2.938 kB / 0.9987 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.898, allocations: 7.75 kB / 0.9987 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.898, allocations: 3.375 kB / 0.9987 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.898, allocations: 5.672 kB / 0.9987 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.8989, allocations: 0.5016 MB / 0.9992 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.8991, allocations: 70.28 kB / 0.9993 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.8992, allocations: 11.06 kB / 0.9993 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.8994, allocations: 15.81 kB / 0.9993 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.8995, allocations: 19.62 kB / 0.9993 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.8995, allocations: 13.75 kB / 0.9993 GB, free: 16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004053/0.8999, allocations: 301.1 kB / 0.9996 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8999, allocations: 0.6875 kB / 0.9996 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006252/0.9005, allocations: 123 kB / 0.9997 GB, free: 15.91 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.001455/0.902, allocations: 1.112 MB / 1.001 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.9025, allocations: 202.1 kB / 1.001 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9025, allocations: 0.5938 kB / 1.001 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.9028, allocations: 115.6 kB / 1.001 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9039, allocations: 228 kB / 1.001 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.9088, allocations: 3.695 MB / 1.005 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.909, allocations: 225.5 kB / 1.005 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.9093, allocations: 79.2 kB / 1.005 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.9095, allocations: 144.1 kB / 1.005 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.9095, allocations: 0 / 1.005 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.9457, allocations: 13.2 MB / 1.018 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.59, allocations: 10.55 kB / 1.018 GB, free: 12.15 MB / 0.7325 GB " [Timeout remaining time 647] (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: 17.08610843901988] Failed to read output from testmodel.py, exit status != 0: 12.755880326963961 12.767663534 11.881099634 Calling exit ...