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.001523/0.001523, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001732/0.001732, allocations: 215.8 kB / 22.25 MB, free: 5.215 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 8.008 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.9221/0.9221, allocations: 145 MB / 457.4 MB, free: 15.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",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.002096/0.002096, allocations: 62.31 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 87.89 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5201/0.6844, allocations: 177.6 MB / 0.8924 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.6891, allocations: 2.31 MB / 0.8947 GB, free: 9.453 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005559/0.6896, allocations: 19.81 kB / 0.8947 GB, free: 9.434 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.6905, allocations: 246.3 kB / 0.8949 GB, free: 9.191 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.6932, allocations: 0.9801 MB / 0.8959 GB, free: 8.207 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.6955, allocations: 0.8652 MB / 0.8967 GB, free: 7.344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.6972, allocations: 0.9804 MB / 0.8977 GB, free: 6.363 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.6978, allocations: 272.2 kB / 0.898 GB, free: 6.094 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009059/0.6987, allocations: 474.3 kB / 0.8984 GB, free: 5.629 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007178/0.6994, allocations: 334.6 kB / 0.8987 GB, free: 5.301 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.6995, allocations: 32 kB / 0.8988 GB, free: 5.27 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.7017, allocations: 1.079 MB / 0.8998 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.7019, allocations: 151.5 kB / 0.9 GB, free: 4.039 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.7023, allocations: 238.8 kB / 0.9002 GB, free: 3.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.7043, allocations: 0.9269 MB / 0.9011 GB, free: 2.879 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7043, allocations: 0 / 0.9011 GB, free: 2.879 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7043, allocations: 0 / 0.9011 GB, free: 2.879 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.7043, allocations: 0 / 0.9011 GB, free: 2.879 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.001465/0.7057, allocations: 0.7533 MB / 0.9018 GB, free: 2.094 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 8.542e-05/0.7058, allocations: 12.03 kB / 0.9018 GB, free: 2.082 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.666e-05/0.7059, allocations: 62.53 kB / 0.9019 GB, free: 2.012 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.7071, allocations: 183.4 kB / 0.9021 GB, free: 1.832 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.7079, allocations: 331.9 kB / 0.9024 GB, free: 1.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.7079, allocations: 20.66 kB / 0.9024 GB, free: 1.461 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.708, allocations: 32 kB / 0.9024 GB, free: 1.43 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.7086, allocations: 369 kB / 0.9028 GB, free: 1.047 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.7086, allocations: 4 kB / 0.9028 GB, free: 1.043 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.7086, allocations: 15.98 kB / 0.9028 GB, free: 1.027 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.7087, allocations: 11.94 kB / 0.9028 GB, free: 1.016 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.7092, allocations: 261.7 kB / 0.9031 GB, free: 0.7617 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.002239/0.7114, allocations: 1.648 MB / 0.9047 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.7119, allocations: 195.5 kB / 0.9049 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.7121, allocations: 104.8 kB / 0.905 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.7128, allocations: 123.9 kB / 0.9051 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.7128, allocations: 38.56 kB / 0.9051 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.824e-06/0.7128, allocations: 0 / 0.9051 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.001057/0.7139, allocations: 365.5 kB / 0.9055 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.7139, allocations: 55.41 kB / 0.9055 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.7144, allocations: 418 kB / 0.9059 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.7145, allocations: 29.7 kB / 0.9059 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.7147, allocations: 216.4 kB / 0.9062 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.7147, allocations: 87.31 kB / 0.9062 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.7148, allocations: 53.66 kB / 0.9063 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.715, allocations: 354.7 kB / 0.9066 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.7152, allocations: 79.94 kB / 0.9067 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.7155, allocations: 120 kB / 0.9068 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.7159, allocations: 213.9 kB / 0.907 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7159, allocations: 0 / 0.907 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005611/0.7165, allocations: 285.2 kB / 0.9073 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.7165, allocations: 8 kB / 0.9073 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7165, allocations: 0 / 0.9073 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7165, allocations: 4 kB / 0.9073 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.7168, allocations: 54.31 kB / 0.9074 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.7168, allocations: 4 kB / 0.9074 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.717, allocations: 35.67 kB / 0.9074 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.7171, allocations: 12 kB / 0.9074 GB, free: 12.09 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.0002092/0.7173, allocations: 161.8 kB / 0.9076 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.7174, allocations: 39.88 kB / 0.9076 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.718, allocations: 303.7 kB / 0.9079 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.718, allocations: 0 / 0.9079 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.718, allocations: 4 kB / 0.9079 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7181, allocations: 3.938 kB / 0.9079 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.7194, allocations: 0.7856 MB / 0.9087 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7194, allocations: 0 / 0.9087 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.7196, allocations: 47.91 kB / 0.9087 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/0.7197, allocations: 0 / 0.9087 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.7197, allocations: 8 kB / 0.9087 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.7198, allocations: 4 kB / 0.9087 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.7198, allocations: 7.625 kB / 0.9087 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.7206, allocations: 0.508 MB / 0.9092 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.7208, allocations: 63.92 kB / 0.9093 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.7209, allocations: 8 kB / 0.9093 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.7211, allocations: 15.98 kB / 0.9093 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.7212, allocations: 19.95 kB / 0.9093 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.7212, allocations: 15.98 kB / 0.9093 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003777/0.7216, allocations: 303.1 kB / 0.9096 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7216, allocations: 4 kB / 0.9096 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005269/0.7221, allocations: 115.8 kB / 0.9097 GB, free: 9.582 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.001339/0.7235, allocations: 1.122 MB / 0.9108 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.724, allocations: 197.9 kB / 0.911 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.724, allocations: 4 kB / 0.911 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.7243, allocations: 108.2 kB / 0.9111 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.7253, allocations: 230.2 kB / 0.9114 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.731, allocations: 3.707 MB / 0.915 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.7315, allocations: 0.8194 MB / 0.9158 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.732, allocations: 83.3 kB / 0.9159 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.7322, allocations: 139.4 kB / 0.916 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.7322, allocations: 0 / 0.916 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05141/0.7836, allocations: 12.4 MB / 0.9281 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.52, allocations: 10.75 kB / 0.9281 GB, free: 6.867 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.07124989805743] Failed to read output from testmodel.py, exit status != 0: 12.637877671979368 12.654856081 11.946992762 Calling exit ...