Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001201/0.001201, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 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.8285/0.8285, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4265, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1076/0.5342, allocations: 115.2 MB / 0.7082 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03956/0.5739, allocations: 26.61 MB / 0.7341 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.5788, allocations: 115.4 kB / 0.7342 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.5824, allocations: 1.141 MB / 0.7354 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009504/0.5919, allocations: 3.434 MB / 0.7387 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006567/0.5985, allocations: 2.347 MB / 0.741 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009342/0.6078, allocations: 6.182 MB / 0.747 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003292/0.6112, allocations: 1.933 MB / 0.7489 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006678/0.6179, allocations: 2.64 MB / 0.7515 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3477/0.9656, allocations: 1.769 MB / 0.7532 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.9671, allocations: 221.3 kB / 0.7535 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007549/0.9747, allocations: 2.341 MB / 0.7557 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.9763, allocations: 0.5368 MB / 0.7563 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00457/0.9809, allocations: 1.282 MB / 0.7575 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.9923, allocations: 4.273 MB / 0.7617 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.9923, allocations: 0.5938 kB / 0.7617 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9923, allocations: 3.375 kB / 0.7617 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001777/0.9925, allocations: 1.25 kB / 0.7617 GB, free: 16.81 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.01041/1.003, allocations: 2.84 MB / 0.7645 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.003, allocations: 9 kB / 0.7645 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/1.005, allocations: 257.7 kB / 0.7647 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/1.01, allocations: 2.151 MB / 0.7668 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.011, allocations: 103.8 kB / 0.7669 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/1.011, allocations: 141.2 kB / 0.7671 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/1.013, allocations: 1.458 MB / 0.7685 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/1.013, allocations: 5.75 kB / 0.7685 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.014, allocations: 55.25 kB / 0.7685 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/1.014, allocations: 33.66 kB / 0.7686 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/1.015, allocations: 1.024 MB / 0.7696 GB, free: 14.6 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.008126/1.023, allocations: 8.144 MB / 0.7775 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.025, allocations: 0.841 MB / 0.7783 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/1.025, allocations: 381 kB / 0.7787 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.027, allocations: 2.808 MB / 0.7814 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.027, allocations: 45.84 kB / 0.7815 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.915e-06/1.027, allocations: 0 / 0.7815 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002259/1.029, allocations: 1.128 MB / 0.7826 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.029, allocations: 61.84 kB / 0.7826 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/1.031, allocations: 1.617 MB / 0.7842 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.031, allocations: 45.98 kB / 0.7843 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/1.032, allocations: 0.9341 MB / 0.7852 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/1.032, allocations: 297.2 kB / 0.7855 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/1.032, allocations: 234.7 kB / 0.7857 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/1.032, allocations: 348.1 kB / 0.786 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/1.033, allocations: 327.6 kB / 0.7863 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/1.034, allocations: 0.708 MB / 0.787 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.035, allocations: 1.094 MB / 0.7881 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.035, allocations: 2.312 kB / 0.7881 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00228/1.037, allocations: 1.25 MB / 0.7893 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.037, allocations: 8.344 kB / 0.7893 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/1.037, allocations: 20.89 kB / 0.7893 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.037, allocations: 16.22 kB / 0.7894 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/1.038, allocations: 260.9 kB / 0.7896 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/1.038, allocations: 26.44 kB / 0.7896 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.04, allocations: 132 kB / 0.7898 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.04, allocations: 67.62 kB / 0.7898 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/1.041, allocations: 0.6218 MB / 0.7904 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006957/1.042, allocations: 0.7071 MB / 0.7911 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001267/1.043, allocations: 1.08 MB / 0.7922 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.314e-06/1.043, allocations: 2.688 kB / 0.7922 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002257/1.045, allocations: 1.25 MB / 0.7934 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.045, allocations: 15.02 kB / 0.7934 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.045, allocations: 17.41 kB / 0.7934 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.045, allocations: 18.41 kB / 0.7935 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/1.046, allocations: 262 kB / 0.7937 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.046, allocations: 21.06 kB / 0.7937 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.047, allocations: 101.6 kB / 0.7938 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.048, allocations: 64.83 kB / 0.7939 GB, free: 2.777 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003469/1.048, allocations: 259.7 kB / 0.7941 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/1.048, allocations: 189.4 kB / 0.7943 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/1.051, allocations: 1.741 MB / 0.796 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-05/1.051, allocations: 22.2 kB / 0.796 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.051, allocations: 0 / 0.796 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/1.053, allocations: 1.138 MB / 0.7971 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/1.059, allocations: 3.499 MB / 0.8006 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/1.059, allocations: 16.75 kB / 0.8006 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/1.06, allocations: 204.4 kB / 0.8008 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.06, allocations: 10.41 kB / 0.8008 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/1.06, allocations: 49.73 kB / 0.8008 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/1.06, allocations: 13.75 kB / 0.8008 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.06, allocations: 7.594 kB / 0.8008 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/1.063, allocations: 2.225 MB / 0.803 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.064, allocations: 456 kB / 0.8035 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.065, allocations: 32.91 kB / 0.8035 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/1.065, allocations: 41.22 kB / 0.8035 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.066, allocations: 116.2 kB / 0.8036 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.066, allocations: 68.47 kB / 0.8037 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001573/1.067, allocations: 1.085 MB / 0.8048 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.273e-06/1.067, allocations: 0 / 0.8048 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0036/1.071, allocations: 1.134 MB / 0.8059 GB, free: 16.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001903/1.073, allocations: 0.8196 MB / 0.8067 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003021/1.076, allocations: 1.812 MB / 0.8084 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.076, allocations: 0 / 0.8084 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.077, allocations: 0.8251 MB / 0.8092 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/1.081, allocations: 0.9667 MB / 0.8102 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/1.087, allocations: 3.573 MB / 0.8137 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008743/1.088, allocations: 1.438 MB / 0.8151 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00198/1.09, allocations: 0.5477 MB / 0.8156 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/1.09, allocations: 186.5 kB / 0.8158 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/1.09, allocations: 3.844 kB / 0.8158 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.07303/1.163, allocations: 43.72 MB / 0.8585 GB, free: 5.023 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)