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.001597/0.001597, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001784/0.001784, allocations: 191 kB / 16.91 MB, free: 6.195 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8122/0.8122, allocations: 122.9 MB / 413.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 0.4906 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4952, allocations: 77.94 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.016/0.5112, allocations: 14.95 MB / 0.5813 GB, free: 21.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006251/0.5175, allocations: 3.873 MB / 0.5851 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.5183, allocations: 20.25 kB / 0.5851 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.519, allocations: 157.5 kB / 0.5853 GB, free: 19.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.521, allocations: 0.6321 MB / 0.5859 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.5226, allocations: 431.1 kB / 0.5863 GB, free: 18.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.5241, allocations: 1.082 MB / 0.5874 GB, free: 17.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.5245, allocations: 278.4 kB / 0.5876 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.5252, allocations: 425.1 kB / 0.588 GB, free: 17.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.5255, allocations: 266.8 kB / 0.5883 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.5256, allocations: 21.28 kB / 0.5883 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.5267, allocations: 0.7197 MB / 0.589 GB, free: 16.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.5268, allocations: 76.94 kB / 0.5891 GB, free: 16.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.527, allocations: 191.8 kB / 0.5893 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009524/0.528, allocations: 0.7052 MB / 0.59 GB, free: 16.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.528, allocations: 0 / 0.59 GB, free: 16.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.528, allocations: 2.656 kB / 0.59 GB, free: 16.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.528, allocations: 0 / 0.59 GB, free: 16.29 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.00105/0.5291, allocations: 0.7434 MB / 0.5907 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5291, allocations: 11.06 kB / 0.5907 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.5292, allocations: 41.91 kB / 0.5907 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.53, allocations: 0.4992 MB / 0.5912 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5301, allocations: 21.83 kB / 0.5912 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.5301, allocations: 17.22 kB / 0.5913 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.5305, allocations: 180.7 kB / 0.5914 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5305, allocations: 0 / 0.5914 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.5305, allocations: 5.594 kB / 0.5914 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5305, allocations: 5.062 kB / 0.5914 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.5309, allocations: 144.3 kB / 0.5916 GB, free: 14.99 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.001029/0.5319, allocations: 0.8585 MB / 0.5924 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.5322, allocations: 124.4 kB / 0.5925 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.5323, allocations: 70.19 kB / 0.5926 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.5327, allocations: 339.9 kB / 0.5929 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5327, allocations: 31.84 kB / 0.593 GB, free: 13.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.5327, allocations: 0 / 0.593 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005696/0.5333, allocations: 216.7 kB / 0.5932 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.5333, allocations: 52.53 kB / 0.5932 GB, free: 13.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.5336, allocations: 351.8 kB / 0.5935 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.5337, allocations: 35.98 kB / 0.5936 GB, free: 13.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5338, allocations: 194.9 kB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.5338, allocations: 40.41 kB / 0.5938 GB, free: 13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.5339, allocations: 34.86 kB / 0.5938 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.534, allocations: 346.5 kB / 0.5942 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.5341, allocations: 49.14 kB / 0.5942 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.5343, allocations: 90.36 kB / 0.5943 GB, free: 12.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.5345, allocations: 122.5 kB / 0.5944 GB, free: 12.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5346, allocations: 0 / 0.5944 GB, free: 12.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003459/0.5349, allocations: 169.1 kB / 0.5946 GB, free: 12.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5349, allocations: 13.19 kB / 0.5946 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5349, allocations: 4.969 kB / 0.5946 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.535, allocations: 1.219 kB / 0.5946 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5351, allocations: 31.38 kB / 0.5946 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5351, allocations: 1.719 kB / 0.5946 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.5354, allocations: 25 kB / 0.5947 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.5354, allocations: 8.125 kB / 0.5947 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000191/0.5356, allocations: 154.8 kB / 0.5948 GB, free: 12.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001391/0.5358, allocations: 89.48 kB / 0.5949 GB, free: 12.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002189/0.536, allocations: 108.3 kB / 0.595 GB, free: 12.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.536, allocations: 7.938 kB / 0.595 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003131/0.5363, allocations: 171.8 kB / 0.5952 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.5363, allocations: 5.344 kB / 0.5952 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.5363, allocations: 128 / 0.5952 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-06/0.5363, allocations: 5.938 kB / 0.5952 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5365, allocations: 30.67 kB / 0.5952 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.5365, allocations: 1.156 kB / 0.5952 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.5367, allocations: 29.88 kB / 0.5952 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5367, allocations: 3.656 kB / 0.5952 GB, free: 11.95 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.68e-05/0.5368, allocations: 187.9 kB / 0.5954 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.5368, allocations: 40.38 kB / 0.5955 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.5373, allocations: 227.5 kB / 0.5957 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5373, allocations: 2.281 kB / 0.5957 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5373, allocations: 0 / 0.5957 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5374, allocations: 1.219 kB / 0.5957 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.5382, allocations: 0.6333 MB / 0.5963 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5382, allocations: 5.188 kB / 0.5963 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.5383, allocations: 24.05 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5383, allocations: 1.5 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5383, allocations: 6.312 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.5383, allocations: 1.406 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5383, allocations: 1.375 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.5387, allocations: 319.4 kB / 0.5966 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.5388, allocations: 127.3 kB / 0.5968 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.5389, allocations: 5.078 kB / 0.5968 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5391, allocations: 20.2 kB / 0.5968 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.5392, allocations: 17.64 kB / 0.5968 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5392, allocations: 5.406 kB / 0.5968 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.5394, allocations: 248.1 kB / 0.597 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5394, allocations: 0 / 0.597 GB, free: 10.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006905/0.5401, allocations: 200.5 kB / 0.5972 GB, free: 10.43 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.0005367/0.5407, allocations: 251.7 kB / 0.5975 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005019/0.5412, allocations: 193.8 kB / 0.5977 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5412, allocations: 1.594 kB / 0.5977 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.5414, allocations: 75.45 kB / 0.5977 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.5422, allocations: 159.3 kB / 0.5979 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.5431, allocations: 0.6736 MB / 0.5985 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.5433, allocations: 0.7893 MB / 0.5993 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002632/0.5436, allocations: 76.25 kB / 0.5994 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.5437, allocations: 39.7 kB / 0.5994 GB, free: 8.773 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5437, allocations: 1.406 kB / 0.5994 GB, free: 8.773 MB / 446.1 MB Notification: Performance of Templates: time 0.01044/0.5541, allocations: 6.488 MB / 0.6058 GB, free: 2.469 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)