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.001033/0.001033, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 180.6 kB / 16.92 MB, free: 6.918 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.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 1.045/1.045, allocations: 143.2 MB / 435.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 12 kB / 0.517 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 83.41 MB / 0.5985 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5018/0.676, allocations: 157.2 MB / 0.752 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.6794, allocations: 1.71 MB / 0.7537 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.6799, allocations: 7.25 kB / 0.7537 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.6805, allocations: 123 kB / 0.7538 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.682, allocations: 0.4912 MB / 0.7543 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.6833, allocations: 373.7 kB / 0.7546 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.6844, allocations: 0.764 MB / 0.7554 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.6847, allocations: 152.7 kB / 0.7555 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/0.6854, allocations: 294.4 kB / 0.7558 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.6857, allocations: 156 kB / 0.756 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.6857, allocations: 6.875 kB / 0.756 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.6871, allocations: 0.7756 MB / 0.7567 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.6872, allocations: 71.72 kB / 0.7568 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.6874, allocations: 138.6 kB / 0.7569 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.6879, allocations: 355.2 kB / 0.7573 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6879, allocations: 0 / 0.7573 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.083e-06/0.688, allocations: 0 / 0.7573 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.688, allocations: 0 / 0.7573 GB, free: 9.562 MB / 0.5762 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.0008379/0.6888, allocations: 0.5371 MB / 0.7578 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6889, allocations: 12.03 kB / 0.7578 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.6892, allocations: 55.69 kB / 0.7579 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.6896, allocations: 301.1 kB / 0.7581 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.6896, allocations: 8.5 kB / 0.7582 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.6897, allocations: 16 kB / 0.7582 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.6901, allocations: 196.1 kB / 0.7584 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6901, allocations: 4 kB / 0.7584 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.6901, allocations: 4 kB / 0.7584 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.6901, allocations: 4 kB / 0.7584 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.6905, allocations: 139.8 kB / 0.7585 GB, free: 8.199 MB / 0.5762 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.001073/0.6915, allocations: 0.791 MB / 0.7593 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.6918, allocations: 90.47 kB / 0.7594 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.692, allocations: 84.86 kB / 0.7594 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/0.6923, allocations: 182.2 kB / 0.7596 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.6924, allocations: 34.56 kB / 0.7597 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.6924, allocations: 0 / 0.7597 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007222/0.6931, allocations: 249.1 kB / 0.7599 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6931, allocations: 51.41 kB / 0.7599 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.6934, allocations: 267 kB / 0.7602 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.6935, allocations: 37.7 kB / 0.7602 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.6936, allocations: 140 kB / 0.7604 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.6936, allocations: 39.39 kB / 0.7604 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.6936, allocations: 9.719 kB / 0.7604 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6938, allocations: 338.8 kB / 0.7607 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.694, allocations: 43.91 kB / 0.7608 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.6942, allocations: 97.11 kB / 0.7609 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.6945, allocations: 139.3 kB / 0.761 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6945, allocations: 0 / 0.761 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003811/0.6949, allocations: 169.9 kB / 0.7612 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.695, allocations: 115.5 kB / 0.7613 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.695, allocations: 0 / 0.7613 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.695, allocations: 0 / 0.7613 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6951, allocations: 31.92 kB / 0.7613 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6952, allocations: 4 kB / 0.7613 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.6954, allocations: 20.58 kB / 0.7613 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.6954, allocations: 11.98 kB / 0.7613 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.6954, allocations: 4 kB / 0.7613 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002886/0.6957, allocations: 115.9 kB / 0.7615 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.6957, allocations: 0 / 0.7615 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/0.6957, allocations: 4 kB / 0.7615 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.6958, allocations: 30.58 kB / 0.7615 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.6959, allocations: 0 / 0.7615 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6961, allocations: 31.8 kB / 0.7615 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.6961, allocations: 8.547 kB / 0.7615 GB, free: 4.887 MB / 0.5762 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.0001803/0.6963, allocations: 217.1 kB / 0.7617 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.6963, allocations: 23.72 kB / 0.7618 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.6967, allocations: 175.2 kB / 0.7619 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6967, allocations: 4 kB / 0.7619 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.6968, allocations: 3.938 kB / 0.7619 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.6968, allocations: 0 / 0.7619 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.6978, allocations: 0.6015 MB / 0.7625 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6978, allocations: 7.984 kB / 0.7625 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.6979, allocations: 28.2 kB / 0.7625 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.6979, allocations: 4 kB / 0.7626 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.6979, allocations: 4 kB / 0.7626 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.698, allocations: 4 kB / 0.7626 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.698, allocations: 3.938 kB / 0.7626 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.6984, allocations: 305.1 kB / 0.7629 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6985, allocations: 116.8 kB / 0.763 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.6986, allocations: 4 kB / 0.763 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.6988, allocations: 16.92 kB / 0.763 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.6988, allocations: 11.98 kB / 0.763 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.6989, allocations: 15.94 kB / 0.763 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001992/0.6991, allocations: 201.9 kB / 0.7632 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6991, allocations: 0 / 0.7632 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004623/0.6995, allocations: 91.84 kB / 0.7633 GB, free: 2.922 MB / 0.5762 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.0004514/0.7, allocations: 170.7 kB / 0.7635 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.7005, allocations: 179.9 kB / 0.7636 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7005, allocations: 0 / 0.7636 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.7007, allocations: 72.41 kB / 0.7637 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.7016, allocations: 133.1 kB / 0.7638 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.7024, allocations: 0.5358 MB / 0.7643 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.7028, allocations: 0.7521 MB / 0.7651 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.7029, allocations: 27.44 kB / 0.7651 GB, free: 1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.7029, allocations: 0 / 0.7651 GB, free: 1 MB / 0.5762 GB Notification: Performance of Templates: time 0.006563/0.7095, allocations: 3.731 MB / 0.7688 GB, free: 13.33 MB / 0.5919 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)