Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001296/0.001296, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001269/0.001269, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002656/0.002656, allocations: 297.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4411, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1267/0.5678, allocations: 115.4 MB / 0.8797 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04242/0.6102, allocations: 26.6 MB / 0.9057 GB, free: 5.477 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003851/0.6141, allocations: 115.4 kB / 0.9058 GB, free: 5.363 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.6174, allocations: 1.192 MB / 0.9069 GB, free: 4.164 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009281/0.6267, allocations: 3.598 MB / 0.9105 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006102/0.6328, allocations: 2.373 MB / 0.9128 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009317/0.6421, allocations: 6.177 MB / 0.9188 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.6451, allocations: 1.593 MB / 0.9204 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007261/0.6524, allocations: 2.706 MB / 0.923 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.6565, allocations: 1.777 MB / 0.9247 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006175/0.6571, allocations: 224 kB / 0.9249 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005739/0.6629, allocations: 2.34 MB / 0.9272 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007101/0.6636, allocations: 0.5601 MB / 0.9278 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.6656, allocations: 1.283 MB / 0.929 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007272/0.6729, allocations: 4.128 MB / 0.9331 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6729, allocations: 0 / 0.9331 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.083e-06/0.6729, allocations: 0 / 0.9331 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.955e-05/0.6729, allocations: 0 / 0.9331 GB, free: 9.309 MB / 0.7012 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.006018/0.6789, allocations: 2.92 MB / 0.9359 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.679, allocations: 8.031 kB / 0.9359 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.6797, allocations: 270.4 kB / 0.9362 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004542/0.6842, allocations: 2.156 MB / 0.9383 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.6843, allocations: 106.7 kB / 0.9384 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.6845, allocations: 139.9 kB / 0.9385 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.6871, allocations: 1.454 MB / 0.9399 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.6871, allocations: 11.89 kB / 0.94 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.6873, allocations: 56 kB / 0.94 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.6873, allocations: 36 kB / 0.94 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.6894, allocations: 1.029 MB / 0.941 GB, free: 0.9336 MB / 0.7012 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.009955/0.6993, allocations: 8.137 MB / 0.949 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.701, allocations: 0.7789 MB / 0.9498 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.7016, allocations: 345.6 kB / 0.9501 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002788/0.7044, allocations: 2.803 MB / 0.9528 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.7045, allocations: 51.16 kB / 0.9529 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.206e-06/0.7045, allocations: 0 / 0.9529 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.002981/0.7075, allocations: 1.137 MB / 0.954 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.7075, allocations: 64 kB / 0.954 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.7104, allocations: 1.618 MB / 0.9556 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.7105, allocations: 45.7 kB / 0.9557 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.3923/1.103, allocations: 0.9406 MB / 0.9566 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/1.103, allocations: 320.6 kB / 0.9569 GB, free: 183 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/1.104, allocations: 234.1 kB / 0.9571 GB, free: 183 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.104, allocations: 349.7 kB / 0.9574 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/1.105, allocations: 326.1 kB / 0.9578 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.106, allocations: 0.7124 MB / 0.9585 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/1.108, allocations: 1.082 MB / 0.9595 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.108, allocations: 3.938 kB / 0.9595 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002728/1.111, allocations: 1.258 MB / 0.9607 GB, free: 181 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.111, allocations: 10.83 kB / 0.9607 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/1.111, allocations: 17.28 kB / 0.9608 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.156e-05/1.111, allocations: 24.12 kB / 0.9608 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/1.112, allocations: 257 kB / 0.961 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/1.112, allocations: 31.36 kB / 0.9611 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.113, allocations: 136.6 kB / 0.9612 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.113, allocations: 65.03 kB / 0.9613 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.114, allocations: 0.6226 MB / 0.9619 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007914/1.115, allocations: 0.7081 MB / 0.9626 GB, free: 180 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/1.116, allocations: 1.075 MB / 0.9636 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.516e-06/1.116, allocations: 6.312 kB / 0.9636 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002289/1.118, allocations: 1.253 MB / 0.9648 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.119, allocations: 10.28 kB / 0.9648 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/1.119, allocations: 16.25 kB / 0.9649 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.119, allocations: 20.19 kB / 0.9649 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/1.119, allocations: 260.6 kB / 0.9651 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/1.119, allocations: 26.53 kB / 0.9652 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.12, allocations: 104 kB / 0.9653 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.121, allocations: 64.8 kB / 0.9653 GB, free: 178.7 MB / 0.7169 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.0003444/1.121, allocations: 258.7 kB / 0.9656 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/1.121, allocations: 199.9 kB / 0.9658 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/1.124, allocations: 1.745 MB / 0.9675 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/1.124, allocations: 20.97 kB / 0.9675 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.124, allocations: 1.812 kB / 0.9675 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/1.126, allocations: 1.145 MB / 0.9686 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/1.13, allocations: 3.488 MB / 0.972 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.13, allocations: 7.875 kB / 0.972 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/1.131, allocations: 206.8 kB / 0.9722 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.131, allocations: 9.844 kB / 0.9722 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/1.131, allocations: 39.48 kB / 0.9723 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/1.131, allocations: 26 kB / 0.9723 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.131, allocations: 10.81 kB / 0.9723 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/1.134, allocations: 2.241 MB / 0.9745 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/1.134, allocations: 450.1 kB / 0.9749 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.135, allocations: 27.91 kB / 0.9749 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/1.135, allocations: 50.23 kB / 0.975 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/1.136, allocations: 112.9 kB / 0.9751 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.136, allocations: 64.36 kB / 0.9752 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001341/1.137, allocations: 1.088 MB / 0.9762 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.137, allocations: 0 / 0.9762 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002497/1.14, allocations: 1.147 MB / 0.9773 GB, free: 173.2 MB / 0.7169 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.001207/1.141, allocations: 0.8074 MB / 0.9781 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002508/1.143, allocations: 1.733 MB / 0.9798 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.143, allocations: 0 / 0.9798 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009459/1.144, allocations: 0.7766 MB / 0.9806 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.148, allocations: 0.9576 MB / 0.9815 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/1.152, allocations: 3.638 MB / 0.9851 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/1.153, allocations: 1.438 MB / 0.9865 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00142/1.154, allocations: 0.5449 MB / 0.987 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/1.154, allocations: 191.3 kB / 0.9872 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/1.154, allocations: 0 / 0.9872 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.05741/1.212, allocations: 43.63 MB / 1.03 GB, free: 120.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)