Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00161/0.00161, allocations: 104.3 kB / 19.7 MB, free: 2.09 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.001988/0.001988, allocations: 209.6 kB / 22.99 MB, free: 4.926 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9521/0.9521, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002145/0.002145, allocations: 74.06 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2062, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.6526/0.8588, allocations: 153.5 MB / 0.878 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.8635, allocations: 2.306 MB / 0.8803 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.8639, allocations: 23.81 kB / 0.8803 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008142/0.8647, allocations: 226.4 kB / 0.8805 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.8673, allocations: 0.9723 MB / 0.8815 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.8698, allocations: 0.857 MB / 0.8823 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.8714, allocations: 0.974 MB / 0.8833 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/0.8719, allocations: 271.4 kB / 0.8835 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.8732, allocations: 0.6229 MB / 0.8841 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.8738, allocations: 310.6 kB / 0.8844 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.8738, allocations: 32 kB / 0.8844 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.8758, allocations: 0.8531 MB / 0.8853 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.876, allocations: 155.5 kB / 0.8854 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.8762, allocations: 207.1 kB / 0.8856 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.8777, allocations: 0.9168 MB / 0.8865 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8777, allocations: 0 / 0.8865 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8777, allocations: 0 / 0.8865 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8777, allocations: 0 / 0.8865 GB, free: 3.039 MB / 0.6544 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.001377/0.8791, allocations: 0.7609 MB / 0.8873 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.8791, allocations: 16.02 kB / 0.8873 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.815e-05/0.8792, allocations: 58.55 kB / 0.8873 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.8809, allocations: 235.4 kB / 0.8876 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007569/0.8816, allocations: 335.8 kB / 0.8879 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.8817, allocations: 24.66 kB / 0.8879 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.8817, allocations: 28 kB / 0.8879 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.8826, allocations: 460.3 kB / 0.8884 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.8826, allocations: 0 / 0.8884 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.8827, allocations: 19.94 kB / 0.8884 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.8827, allocations: 12 kB / 0.8884 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.8835, allocations: 309.7 kB / 0.8887 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.8856, allocations: 1.352 MB / 0.89 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.8864, allocations: 279.7 kB / 0.8903 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.8867, allocations: 128.8 kB / 0.8904 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.8872, allocations: 75.91 kB / 0.8905 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.8873, allocations: 34.56 kB / 0.8905 GB, free: 14.76 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/0.8873, allocations: 0 / 0.8905 GB, free: 14.76 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.001326/0.8886, allocations: 425.1 kB / 0.8909 GB, free: 14.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.8887, allocations: 55.41 kB / 0.891 GB, free: 14.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.8892, allocations: 433.8 kB / 0.8914 GB, free: 13.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.8893, allocations: 29.7 kB / 0.8914 GB, free: 13.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.8895, allocations: 216.4 kB / 0.8916 GB, free: 13.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.279e-05/0.8896, allocations: 87.25 kB / 0.8917 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.8897, allocations: 53.69 kB / 0.8918 GB, free: 13.44 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.8899, allocations: 354.7 kB / 0.8921 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.8902, allocations: 107.9 kB / 0.8922 GB, free: 12.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.8906, allocations: 199.7 kB / 0.8924 GB, free: 12.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.8912, allocations: 256.3 kB / 0.8926 GB, free: 12.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8912, allocations: 3.984 kB / 0.8926 GB, free: 12.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007986/0.892, allocations: 339.2 kB / 0.893 GB, free: 12.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.8921, allocations: 14.22 kB / 0.893 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.8921, allocations: 0 / 0.893 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8921, allocations: 0 / 0.893 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.8924, allocations: 60.77 kB / 0.893 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.8924, allocations: 7.938 kB / 0.893 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.8928, allocations: 35.78 kB / 0.8931 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.8928, allocations: 8 kB / 0.8931 GB, free: 12.04 MB / 0.67 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.00022/0.893, allocations: 169.7 kB / 0.8932 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.8931, allocations: 43.77 kB / 0.8933 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.894, allocations: 343.3 kB / 0.8936 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.894, allocations: 7.938 kB / 0.8936 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.894, allocations: 3.938 kB / 0.8936 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.894, allocations: 0 / 0.8936 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.8958, allocations: 0.8187 MB / 0.8944 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.8958, allocations: 3.938 kB / 0.8944 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.8961, allocations: 59.83 kB / 0.8945 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.8961, allocations: 4.188 kB / 0.8945 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.8962, allocations: 12 kB / 0.8945 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8962, allocations: 0 / 0.8945 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8962, allocations: 7.938 kB / 0.8945 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.8974, allocations: 0.582 MB / 0.8951 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.8976, allocations: 79.7 kB / 0.8951 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.8977, allocations: 15.92 kB / 0.8952 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.898, allocations: 19.98 kB / 0.8952 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.8981, allocations: 31.75 kB / 0.8952 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.8981, allocations: 11.98 kB / 0.8952 GB, free: 9.723 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003639/0.8985, allocations: 303.1 kB / 0.8955 GB, free: 9.43 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8985, allocations: 0 / 0.8955 GB, free: 9.43 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004831/0.8989, allocations: 115.8 kB / 0.8956 GB, free: 9.316 MB / 0.67 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.001798/0.9007, allocations: 1.185 MB / 0.8968 GB, free: 8.086 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007791/0.9015, allocations: 258.2 kB / 0.897 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9015, allocations: 0 / 0.897 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.9019, allocations: 138.2 kB / 0.8972 GB, free: 7.703 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.9031, allocations: 225.8 kB / 0.8974 GB, free: 7.496 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.9098, allocations: 3.876 MB / 0.9012 GB, free: 3.488 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.9101, allocations: 220.1 kB / 0.9014 GB, free: 3.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004682/0.9105, allocations: 91.33 kB / 0.9015 GB, free: 3.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.9108, allocations: 139.4 kB / 0.9016 GB, free: 3.023 MB / 0.67 GB Notification: Performance of SimCode: time 1.763e-06/0.9108, allocations: 4 kB / 0.9016 GB, free: 3.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/0.9641, allocations: 14.08 MB / 0.9153 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.43, allocations: 4.062 kB / 0.9153 GB, free: 5.32 MB / 0.6856 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.389874571934342] Failed to read output from testmodel.py, exit status != 0: 12.546339636202902 12.577040308 11.693553549 Calling exit ...