Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001855/0.001855, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002154/0.002154, allocations: 216 kB / 23.05 MB, free: 5.074 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9055/0.9055, allocations: 145 MB / 458.2 MB, free: 15.51 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001998/0.001998, allocations: 61.38 kB / 0.6339 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 87.89 MB / 0.7197 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5316/0.6963, allocations: 177.6 MB / 0.8932 GB, free: 11.76 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.7005, allocations: 2.31 MB / 0.8954 GB, free: 9.445 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.7008, allocations: 23.81 kB / 0.8955 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.7016, allocations: 234.4 kB / 0.8957 GB, free: 9.191 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.704, allocations: 0.984 MB / 0.8967 GB, free: 8.203 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.7062, allocations: 0.8701 MB / 0.8975 GB, free: 7.336 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.7077, allocations: 0.9857 MB / 0.8985 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.7081, allocations: 264.2 kB / 0.8987 GB, free: 6.086 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008333/0.709, allocations: 474.3 kB / 0.8992 GB, free: 5.621 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.7095, allocations: 334.6 kB / 0.8995 GB, free: 5.293 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.7095, allocations: 32 kB / 0.8995 GB, free: 5.262 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.7116, allocations: 1.075 MB / 0.9006 GB, free: 4.184 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.7118, allocations: 151.5 kB / 0.9007 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.7121, allocations: 242.8 kB / 0.9009 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.7136, allocations: 0.9231 MB / 0.9019 GB, free: 2.875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.7136, allocations: 0 / 0.9019 GB, free: 2.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7136, allocations: 4 kB / 0.9019 GB, free: 2.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.7136, allocations: 4 kB / 0.9019 GB, free: 2.867 MB / 0.67 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.001375/0.715, allocations: 0.7493 MB / 0.9026 GB, free: 2.086 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.715, allocations: 8.031 kB / 0.9026 GB, free: 2.078 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.556e-05/0.715, allocations: 13.53 kB / 0.9026 GB, free: 2.066 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.7151, allocations: 66.53 kB / 0.9027 GB, free: 1.992 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.7163, allocations: 187.4 kB / 0.9029 GB, free: 1.809 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.717, allocations: 323.9 kB / 0.9032 GB, free: 1.465 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.717, allocations: 20.66 kB / 0.9032 GB, free: 1.445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.7171, allocations: 32 kB / 0.9032 GB, free: 1.414 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.7177, allocations: 373 kB / 0.9036 GB, free: 1.027 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.7177, allocations: 0.9375 kB / 0.9036 GB, free: 1.027 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.7178, allocations: 12 kB / 0.9036 GB, free: 1.016 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7178, allocations: 15.94 kB / 0.9036 GB, free: 1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.7183, allocations: 265.6 kB / 0.9038 GB, free: 0.7422 MB / 0.67 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.002033/0.7204, allocations: 1.637 MB / 0.9054 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.7208, allocations: 194.5 kB / 0.9056 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.721, allocations: 107.9 kB / 0.9057 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/0.7217, allocations: 135.8 kB / 0.9059 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.7218, allocations: 38.56 kB / 0.9059 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.562e-06/0.7218, allocations: 0 / 0.9059 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.0009373/0.7227, allocations: 368 kB / 0.9063 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.7227, allocations: 51.41 kB / 0.9063 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.7232, allocations: 422 kB / 0.9067 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.7233, allocations: 29.7 kB / 0.9067 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.7235, allocations: 216.4 kB / 0.9069 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.7235, allocations: 79.34 kB / 0.907 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/0.7236, allocations: 57.64 kB / 0.9071 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7238, allocations: 354.7 kB / 0.9074 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.724, allocations: 75.95 kB / 0.9075 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.7242, allocations: 127.4 kB / 0.9076 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.7247, allocations: 205.5 kB / 0.9078 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7247, allocations: 0 / 0.9078 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005659/0.7252, allocations: 284.1 kB / 0.9081 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7252, allocations: 8 kB / 0.9081 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7252, allocations: 0 / 0.9081 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.7253, allocations: 4 kB / 0.9081 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.7255, allocations: 51.91 kB / 0.9081 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.7255, allocations: 3.938 kB / 0.9081 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.7258, allocations: 35.72 kB / 0.9082 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.7258, allocations: 12 kB / 0.9082 GB, free: 12.08 MB / 0.6856 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.000181/0.726, allocations: 165.9 kB / 0.9083 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.7261, allocations: 47.69 kB / 0.9084 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.7267, allocations: 292.9 kB / 0.9087 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7267, allocations: 0 / 0.9087 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7267, allocations: 7.938 kB / 0.9087 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7267, allocations: 3.984 kB / 0.9087 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.728, allocations: 0.789 MB / 0.9094 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.728, allocations: 0 / 0.9094 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.7283, allocations: 44.17 kB / 0.9095 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.7283, allocations: 0 / 0.9095 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.7283, allocations: 8 kB / 0.9095 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.7283, allocations: 11.92 kB / 0.9095 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7283, allocations: 4 kB / 0.9095 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.7291, allocations: 0.504 MB / 0.91 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.7293, allocations: 67.72 kB / 0.9101 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.7293, allocations: 8.188 kB / 0.9101 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.7296, allocations: 19.98 kB / 0.9101 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.7297, allocations: 19.95 kB / 0.9101 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.7297, allocations: 15.94 kB / 0.9101 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000347/0.73, allocations: 299.1 kB / 0.9104 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.73, allocations: 0 / 0.9104 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000483/0.7305, allocations: 119.8 kB / 0.9105 GB, free: 9.566 MB / 0.6856 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.00143/0.732, allocations: 1.109 MB / 0.9116 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.7325, allocations: 203.7 kB / 0.9118 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7325, allocations: 0 / 0.9118 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.7327, allocations: 109.5 kB / 0.9119 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7339, allocations: 229.1 kB / 0.9121 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.7393, allocations: 3.707 MB / 0.9157 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.7398, allocations: 0.8272 MB / 0.9166 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003113/0.7401, allocations: 87.34 kB / 0.9166 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.7404, allocations: 143.4 kB / 0.9168 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of SimCode: time 8.42e-07/0.7404, allocations: 0 / 0.9168 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.7812, allocations: 12.42 MB / 0.9289 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.59, allocations: 9.391 kB / 0.9289 GB, free: 6.844 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.302404583024327] Failed to read output from testmodel.py, exit status != 0: 12.760589915968012 12.787968868 12.070138159 Calling exit ...