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.001485/0.001485, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.001847/0.001847, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7207/0.7207, allocations: 115.3 MB / 406.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 59.91 kB / 493.5 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3893, allocations: 76.17 MB / 0.5564 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01403/0.4034, allocations: 14.98 MB / 0.571 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.4088, allocations: 3.924 MB / 0.5748 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.4095, allocations: 22.5 kB / 0.5748 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.4102, allocations: 149.1 kB / 0.575 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.4122, allocations: 0.6198 MB / 0.5756 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4135, allocations: 417.8 kB / 0.576 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.4155, allocations: 1.374 MB / 0.5773 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.416, allocations: 240.2 kB / 0.5776 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/0.4167, allocations: 369.9 kB / 0.5779 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.4171, allocations: 271.6 kB / 0.5782 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.4171, allocations: 13.75 kB / 0.5782 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.4185, allocations: 0.6978 MB / 0.5789 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.4186, allocations: 70.52 kB / 0.5789 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.4188, allocations: 174.9 kB / 0.5791 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.4196, allocations: 0.4966 MB / 0.5796 GB, free: 20.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4197, allocations: 3.938 kB / 0.5796 GB, free: 20.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4197, allocations: 0.5938 kB / 0.5796 GB, free: 20.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4197, allocations: 3.844 kB / 0.5796 GB, free: 20.79 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.001104/0.4208, allocations: 0.75 MB / 0.5803 GB, free: 20.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4208, allocations: 12.25 kB / 0.5803 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.582e-05/0.4209, allocations: 44.59 kB / 0.5804 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.4218, allocations: 499.8 kB / 0.5809 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.4218, allocations: 19.39 kB / 0.5809 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.4219, allocations: 19.34 kB / 0.5809 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.4223, allocations: 176.1 kB / 0.5811 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4223, allocations: 0 / 0.5811 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4223, allocations: 5.281 kB / 0.5811 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4223, allocations: 5.625 kB / 0.5811 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.4227, allocations: 141.1 kB / 0.5812 GB, free: 19.68 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.001042/0.4237, allocations: 0.8574 MB / 0.582 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.424, allocations: 118.9 kB / 0.5822 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.4242, allocations: 80.44 kB / 0.5822 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.4245, allocations: 335.1 kB / 0.5826 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4245, allocations: 39.03 kB / 0.5826 GB, free: 18.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.4245, allocations: 0 / 0.5826 GB, free: 18.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006004/0.4251, allocations: 221 kB / 0.5828 GB, free: 18.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4251, allocations: 52.56 kB / 0.5829 GB, free: 18.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.4255, allocations: 346 kB / 0.5832 GB, free: 18.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4255, allocations: 31.27 kB / 0.5832 GB, free: 18.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4256, allocations: 195.1 kB / 0.5834 GB, free: 17.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.4257, allocations: 40.7 kB / 0.5834 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.4257, allocations: 37.61 kB / 0.5835 GB, free: 17.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.4258, allocations: 346.4 kB / 0.5838 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.426, allocations: 55.09 kB / 0.5839 GB, free: 17.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.4262, allocations: 87.03 kB / 0.5839 GB, free: 17.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.4264, allocations: 115.5 kB / 0.5841 GB, free: 17.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4264, allocations: 4.609 kB / 0.5841 GB, free: 17.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003835/0.4268, allocations: 184.2 kB / 0.5842 GB, free: 17.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4269, allocations: 10.34 kB / 0.5842 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.4269, allocations: 0 / 0.5842 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4269, allocations: 0.75 kB / 0.5842 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.427, allocations: 27.14 kB / 0.5843 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4271, allocations: 3.562 kB / 0.5843 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.4273, allocations: 28.98 kB / 0.5843 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4273, allocations: 4.906 kB / 0.5843 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001967/0.4275, allocations: 153.2 kB / 0.5845 GB, free: 17.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001502/0.4277, allocations: 85.91 kB / 0.5845 GB, free: 17.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000237/0.428, allocations: 112.9 kB / 0.5846 GB, free: 17.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.428, allocations: 1.094 kB / 0.5846 GB, free: 17.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000326/0.4283, allocations: 175.2 kB / 0.5848 GB, free: 17.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.4283, allocations: 5.312 kB / 0.5848 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.4283, allocations: 1.344 kB / 0.5848 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-06/0.4283, allocations: 5.734 kB / 0.5848 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4284, allocations: 27.12 kB / 0.5848 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.4284, allocations: 1.688 kB / 0.5848 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.4287, allocations: 24.45 kB / 0.5849 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4287, allocations: 5.562 kB / 0.5849 GB, free: 17.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.4288, allocations: 196.7 kB / 0.5851 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.4288, allocations: 39.34 kB / 0.5851 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.4293, allocations: 236 kB / 0.5853 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4293, allocations: 3.328 kB / 0.5853 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4294, allocations: 0 / 0.5853 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4294, allocations: 0.7969 kB / 0.5853 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.4302, allocations: 0.635 MB / 0.586 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4303, allocations: 1.344 kB / 0.586 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.4304, allocations: 27.84 kB / 0.586 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4304, allocations: 5.469 kB / 0.586 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4304, allocations: 6.906 kB / 0.586 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.4304, allocations: 3.344 kB / 0.586 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4304, allocations: 1.312 kB / 0.586 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.4308, allocations: 317.5 kB / 0.5863 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.431, allocations: 127 kB / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.431, allocations: 6.141 kB / 0.5864 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.4313, allocations: 23.47 kB / 0.5864 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4313, allocations: 17.31 kB / 0.5865 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4313, allocations: 5.156 kB / 0.5865 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.4316, allocations: 246.6 kB / 0.5867 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4316, allocations: 0 / 0.5867 GB, free: 15.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007126/0.4323, allocations: 193.9 kB / 0.5869 GB, free: 15.73 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 (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.0005958/0.4329, allocations: 250.3 kB / 0.5871 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.4335, allocations: 196 kB / 0.5873 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4335, allocations: 0 / 0.5873 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.4337, allocations: 77.25 kB / 0.5874 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.4345, allocations: 140.8 kB / 0.5875 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.4354, allocations: 0.7034 MB / 0.5882 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.4357, allocations: 0.7889 MB / 0.589 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.4358, allocations: 37.19 kB / 0.589 GB, free: 14.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4358, allocations: 1.156 kB / 0.589 GB, free: 14.26 MB / 446.1 MB Notification: Performance of Templates: time 0.009807/0.4456, allocations: 5.751 MB / 0.5946 GB, free: 11.73 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)