Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 96.89 kB / 15.69 MB, free: 480 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.001439/0.00144, allocations: 173.6 kB / 16.57 MB, free: 6.398 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.411/1.411, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005931/0.0005932, allocations: 12.48 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2106, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01394/0.2246, allocations: 12.6 MB / 0.5691 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005423/0.2301, allocations: 3.334 MB / 0.5724 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.2306, allocations: 19.88 kB / 0.5724 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.2314, allocations: 179.1 kB / 0.5726 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.2335, allocations: 0.6622 MB / 0.5732 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.2351, allocations: 0.5398 MB / 0.5738 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.2365, allocations: 0.7301 MB / 0.5745 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.237, allocations: 220.7 kB / 0.5747 GB, free: 9.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.2376, allocations: 338.8 kB / 0.575 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.2379, allocations: 187.2 kB / 0.5752 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.2379, allocations: 15.94 kB / 0.5752 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.239, allocations: 0.4953 MB / 0.5757 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.2391, allocations: 59.75 kB / 0.5757 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.2392, allocations: 93.52 kB / 0.5758 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000637/0.2399, allocations: 447.3 kB / 0.5763 GB, free: 7.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2399, allocations: 3.938 kB / 0.5763 GB, free: 7.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2399, allocations: 0 / 0.5763 GB, free: 7.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.2399, allocations: 0 / 0.5763 GB, free: 7.668 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0011/0.241, allocations: 0.6812 MB / 0.5769 GB, free: 6.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2411, allocations: 12.03 kB / 0.5769 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.2412, allocations: 39.53 kB / 0.577 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.2421, allocations: 409.3 kB / 0.5774 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.2421, allocations: 16.33 kB / 0.5774 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.2422, allocations: 16 kB / 0.5774 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.2427, allocations: 188.8 kB / 0.5776 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2427, allocations: 0 / 0.5776 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2427, allocations: 8 kB / 0.5776 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2427, allocations: 7.938 kB / 0.5776 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.2431, allocations: 156.1 kB / 0.5777 GB, free: 6.059 MB / 446.1 MB 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.001547/0.2447, allocations: 0.8801 MB / 0.5786 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.2451, allocations: 130.6 kB / 0.5787 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004212/0.2456, allocations: 336.4 kB / 0.579 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.2456, allocations: 34.56 kB / 0.5791 GB, free: 4.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 4.439e-06/0.2456, allocations: 3.984 kB / 0.5791 GB, free: 4.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008123/0.2465, allocations: 229.4 kB / 0.5793 GB, free: 4.262 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.2465, allocations: 63.39 kB / 0.5794 GB, free: 4.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.247, allocations: 361.7 kB / 0.5797 GB, free: 3.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2471, allocations: 29.7 kB / 0.5797 GB, free: 3.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2473, allocations: 200.2 kB / 0.5799 GB, free: 3.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.2473, allocations: 43.39 kB / 0.58 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.2474, allocations: 8 kB / 0.58 GB, free: 3.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2475, allocations: 342.8 kB / 0.5803 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2477, allocations: 51.95 kB / 0.5804 GB, free: 3.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.2479, allocations: 89.23 kB / 0.5804 GB, free: 3.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.248, allocations: 59.97 kB / 0.5805 GB, free: 2.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.248, allocations: 0 / 0.5805 GB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003865/0.2484, allocations: 181.2 kB / 0.5807 GB, free: 2.805 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.2486, allocations: 191.7 kB / 0.5809 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2486, allocations: 4.062 kB / 0.5809 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2486, allocations: 4 kB / 0.5809 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2487, allocations: 27.98 kB / 0.5809 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2488, allocations: 3.953 kB / 0.5809 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.249, allocations: 35.81 kB / 0.5809 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.2491, allocations: 8 kB / 0.5809 GB, free: 2.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.2491, allocations: 4 kB / 0.5809 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003099/0.2494, allocations: 127.9 kB / 0.5811 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.2494, allocations: 0 / 0.5811 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.2494, allocations: 4 kB / 0.5811 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2495, allocations: 27.92 kB / 0.5811 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.2496, allocations: 0 / 0.5811 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2498, allocations: 35.88 kB / 0.5811 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.2498, allocations: 4 kB / 0.5811 GB, free: 2.324 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.25, allocations: 226.8 kB / 0.5813 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.2501, allocations: 31.62 kB / 0.5814 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.2507, allocations: 237.6 kB / 0.5816 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2507, allocations: 7.984 kB / 0.5816 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2507, allocations: 0 / 0.5816 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2507, allocations: 0 / 0.5816 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2518, allocations: 0.6562 MB / 0.5822 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2518, allocations: 0 / 0.5822 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2519, allocations: 40.02 kB / 0.5823 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2519, allocations: 0 / 0.5823 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.252, allocations: 4 kB / 0.5823 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.252, allocations: 0 / 0.5823 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.252, allocations: 96 / 0.5823 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.2524, allocations: 371.7 kB / 0.5826 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.2526, allocations: 132.6 kB / 0.5828 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.2527, allocations: 15.94 kB / 0.5828 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2529, allocations: 23.92 kB / 0.5828 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.253, allocations: 11.98 kB / 0.5828 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.253, allocations: 7.984 kB / 0.5828 GB, free: 448 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.2533, allocations: 271.2 kB / 0.5831 GB, free: 180 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2533, allocations: 0 / 0.5831 GB, free: 180 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.3942/0.6475, allocations: 191.2 kB / 0.5833 GB, free: 34.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000828/0.6484, allocations: 250.1 kB / 0.5835 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.6492, allocations: 205.4 kB / 0.5837 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6492, allocations: 1.219 kB / 0.5837 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.6494, allocations: 80.73 kB / 0.5838 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.6504, allocations: 145.8 kB / 0.5839 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.6515, allocations: 0.6851 MB / 0.5846 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.6518, allocations: 0.8013 MB / 0.5854 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.6521, allocations: 76.97 kB / 0.5854 GB, free: 32.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.6522, allocations: 33.88 kB / 0.5855 GB, free: 32.84 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6522, allocations: 0.7812 kB / 0.5855 GB, free: 32.84 MB / 446.1 MB Notification: Performance of Templates: time 0.0198/0.672, allocations: 6.538 MB / 0.5919 GB, free: 32.39 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)