Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 107.2 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 187 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8392/0.8392, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.97 kB / 0.5962 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1707, allocations: 82.03 MB / 0.6763 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.6435/0.8143, allocations: 161.6 MB / 0.8341 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.8176, allocations: 1.712 MB / 0.8357 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.8182, allocations: 8.906 kB / 0.8357 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.8189, allocations: 159.8 kB / 0.8359 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.8206, allocations: 0.5099 MB / 0.8364 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.822, allocations: 424 kB / 0.8368 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.823, allocations: 0.5679 MB / 0.8373 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.8234, allocations: 179 kB / 0.8375 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.8242, allocations: 325.7 kB / 0.8378 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.8245, allocations: 146.6 kB / 0.838 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.8246, allocations: 16.19 kB / 0.838 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.8259, allocations: 0.6999 MB / 0.8387 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.826, allocations: 83.11 kB / 0.8387 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.8262, allocations: 118.4 kB / 0.8389 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.8273, allocations: 0.5091 MB / 0.8394 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8273, allocations: 0 / 0.8394 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8273, allocations: 0 / 0.8394 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.8273, allocations: 0 / 0.8394 GB, free: 3.5 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000978/0.8283, allocations: 0.5856 MB / 0.8399 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.8284, allocations: 7.75 kB / 0.8399 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.8288, allocations: 53.91 kB / 0.84 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.8293, allocations: 305 kB / 0.8403 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.8293, allocations: 14.97 kB / 0.8403 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.8294, allocations: 18 kB / 0.8403 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.8297, allocations: 186.9 kB / 0.8405 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8298, allocations: 0 / 0.8405 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.8298, allocations: 5.781 kB / 0.8405 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.8298, allocations: 5.938 kB / 0.8405 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.8301, allocations: 135.2 kB / 0.8406 GB, free: 2.43 MB / 0.6075 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.001086/0.8312, allocations: 0.7766 MB / 0.8414 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.8315, allocations: 88.59 kB / 0.8415 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.8317, allocations: 80.95 kB / 0.8415 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.8319, allocations: 181 kB / 0.8417 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.832, allocations: 42.55 kB / 0.8418 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.832, allocations: 0 / 0.8418 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006826/0.8327, allocations: 221.1 kB / 0.842 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.8327, allocations: 51.41 kB / 0.842 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.833, allocations: 265.9 kB / 0.8423 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.833, allocations: 32.23 kB / 0.8423 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.8331, allocations: 144.1 kB / 0.8424 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.8332, allocations: 38.58 kB / 0.8425 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.8332, allocations: 29.78 kB / 0.8425 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8333, allocations: 332.1 kB / 0.8428 GB, free: 476 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.8335, allocations: 43.92 kB / 0.8429 GB, free: 452 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.8336, allocations: 105.9 kB / 0.843 GB, free: 360 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.8339, allocations: 115.4 kB / 0.8431 GB, free: 284 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8339, allocations: 0 / 0.8431 GB, free: 284 kB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003513/0.8343, allocations: 157.5 kB / 0.8432 GB, free: 188 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8343, allocations: 5.281 kB / 0.8432 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8343, allocations: 2.719 kB / 0.8432 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.8343, allocations: 3.938 kB / 0.8432 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8345, allocations: 25.05 kB / 0.8433 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.8345, allocations: 2.406 kB / 0.8433 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.8347, allocations: 26.56 kB / 0.8433 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8347, allocations: 5.219 kB / 0.8433 GB, free: 160 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001958/0.8349, allocations: 156.1 kB / 0.8434 GB, free: 36 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001719/0.8351, allocations: 85.08 kB / 0.8435 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002495/0.8353, allocations: 126.3 kB / 0.8436 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.8354, allocations: 0 / 0.8436 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003272/0.8357, allocations: 156.9 kB / 0.8438 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.8357, allocations: 5.5 kB / 0.8438 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.8357, allocations: 0 / 0.8438 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.8357, allocations: 2.25 kB / 0.8438 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8358, allocations: 25.27 kB / 0.8438 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.8359, allocations: 7.969 kB / 0.8438 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.836, allocations: 19.58 kB / 0.8439 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.8361, allocations: 5.281 kB / 0.8439 GB, free: 15.76 MB / 0.6231 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 (10): * Single equations (assignments): 10 * 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.000116/0.8362, allocations: 189.2 kB / 0.844 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.8362, allocations: 21.78 kB / 0.8441 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.8366, allocations: 160.4 kB / 0.8442 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8366, allocations: 10.12 kB / 0.8442 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8366, allocations: 3.938 kB / 0.8442 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8366, allocations: 3.984 kB / 0.8442 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.8376, allocations: 0.5894 MB / 0.8448 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8376, allocations: 1.906 kB / 0.8448 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.8378, allocations: 26.17 kB / 0.8448 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8378, allocations: 2.531 kB / 0.8448 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.8378, allocations: 4.906 kB / 0.8448 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8378, allocations: 0 / 0.8448 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.8378, allocations: 7.562 kB / 0.8448 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.8384, allocations: 299.7 kB / 0.8451 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.8385, allocations: 117.4 kB / 0.8452 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.8385, allocations: 6.078 kB / 0.8453 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.8387, allocations: 11.98 kB / 0.8453 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.8388, allocations: 12.88 kB / 0.8453 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.8388, allocations: 8.391 kB / 0.8453 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001765/0.839, allocations: 198.6 kB / 0.8455 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.839, allocations: 0 / 0.8455 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004718/0.8395, allocations: 86.12 kB / 0.8456 GB, free: 14.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004286/0.8399, allocations: 175.9 kB / 0.8457 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.8404, allocations: 173.1 kB / 0.8459 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8404, allocations: 0 / 0.8459 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.8406, allocations: 67.05 kB / 0.846 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.8413, allocations: 112.3 kB / 0.8461 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/0.8421, allocations: 466.9 kB / 0.8465 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.8425, allocations: 0.7519 MB / 0.8472 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.8426, allocations: 27.16 kB / 0.8473 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.8426, allocations: 0 / 0.8473 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.007257/0.8498, allocations: 3.751 MB / 0.8509 GB, free: 10.59 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)