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.0008457/0.0008457, allocations: 92.78 kB / 15.7 MB, free: 472 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.001057/0.001057, allocations: 170 kB / 16.57 MB, free: 5.93 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.468/1.468, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7814/0.7814, allocations: 115.5 MB / 407.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 8 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1889, allocations: 77.53 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0182/0.2072, allocations: 13.74 MB / 0.5727 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.2133, allocations: 3.625 MB / 0.5763 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.2139, allocations: 15.94 kB / 0.5763 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.2145, allocations: 135.1 kB / 0.5764 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.2163, allocations: 0.5549 MB / 0.577 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.2176, allocations: 416.2 kB / 0.5774 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.2196, allocations: 1.197 MB / 0.5785 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.22, allocations: 224.6 kB / 0.5787 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.2207, allocations: 362.4 kB / 0.5791 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.221, allocations: 246.8 kB / 0.5793 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.221, allocations: 8 kB / 0.5793 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2223, allocations: 0.6353 MB / 0.58 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.2224, allocations: 59.69 kB / 0.58 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.2225, allocations: 93.52 kB / 0.5801 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.2232, allocations: 479 kB / 0.5806 GB, free: 3.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2232, allocations: 4 kB / 0.5806 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2232, allocations: 4 kB / 0.5806 GB, free: 3.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2232, allocations: 0 / 0.5806 GB, free: 3.598 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.001246/0.2245, allocations: 0.689 MB / 0.5812 GB, free: 2.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2245, allocations: 12.03 kB / 0.5812 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2246, allocations: 51.42 kB / 0.5813 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.2256, allocations: 481.1 kB / 0.5818 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2256, allocations: 16.33 kB / 0.5818 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2257, allocations: 20 kB / 0.5818 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.2261, allocations: 180.2 kB / 0.582 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2261, allocations: 0 / 0.582 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2262, allocations: 12 kB / 0.582 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2262, allocations: 4 kB / 0.582 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2265, allocations: 148.8 kB / 0.5821 GB, free: 1.914 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.001265/0.2278, allocations: 0.8606 MB / 0.583 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.228, allocations: 130.6 kB / 0.5831 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.2282, allocations: 72.81 kB / 0.5832 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.2286, allocations: 340.3 kB / 0.5835 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2287, allocations: 34.56 kB / 0.5835 GB, free: 300 kB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.2287, allocations: 4 kB / 0.5835 GB, free: 296 kB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005578/0.2292, allocations: 233 kB / 0.5837 GB, free: 60 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3024/0.5316, allocations: 51.41 kB / 0.5838 GB, free: 32.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.5323, allocations: 339.5 kB / 0.5841 GB, free: 32.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.5323, allocations: 30.95 kB / 0.5841 GB, free: 32.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.5325, allocations: 191.2 kB / 0.5843 GB, free: 32.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.5325, allocations: 42.16 kB / 0.5844 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.5325, allocations: 4.531 kB / 0.5844 GB, free: 32.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.5326, allocations: 349.1 kB / 0.5847 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5328, allocations: 47.52 kB / 0.5847 GB, free: 32.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.5329, allocations: 97.78 kB / 0.5848 GB, free: 32.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.5331, allocations: 61.83 kB / 0.5849 GB, free: 32.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5331, allocations: 0.9375 kB / 0.5849 GB, free: 32.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000389/0.5335, allocations: 188.3 kB / 0.5851 GB, free: 32.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.5336, allocations: 101.2 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5336, allocations: 0 / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5336, allocations: 2.281 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5338, allocations: 30.16 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5338, allocations: 6.125 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.534, allocations: 30.91 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.534, allocations: 5.188 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/0.534, allocations: 4.188 kB / 0.5852 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002787/0.5343, allocations: 121.9 kB / 0.5854 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.5343, allocations: 5.641 kB / 0.5854 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.5343, allocations: 0 / 0.5854 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.5345, allocations: 29.08 kB / 0.5854 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.5345, allocations: 2.125 kB / 0.5854 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.5347, allocations: 31.81 kB / 0.5854 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.5347, allocations: 12.56 kB / 0.5854 GB, free: 32.08 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.0001447/0.5348, allocations: 220.1 kB / 0.5857 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.5349, allocations: 34.31 kB / 0.5857 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.5354, allocations: 234.5 kB / 0.5859 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.5355, allocations: 1.938 kB / 0.5859 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5355, allocations: 1.312 kB / 0.5859 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5355, allocations: 5.766 kB / 0.5859 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.5364, allocations: 0.6366 MB / 0.5865 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5364, allocations: 2.281 kB / 0.5865 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.5365, allocations: 36.88 kB / 0.5866 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5365, allocations: 1.688 kB / 0.5866 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5365, allocations: 14.78 kB / 0.5866 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5366, allocations: 1.516 kB / 0.5866 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5366, allocations: 2.594 kB / 0.5866 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5369, allocations: 327.7 kB / 0.5869 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.537, allocations: 130.7 kB / 0.587 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.5371, allocations: 2.125 kB / 0.587 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.5373, allocations: 31.3 kB / 0.5871 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.5374, allocations: 12.38 kB / 0.5871 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5374, allocations: 9.359 kB / 0.5871 GB, free: 31.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.5376, allocations: 240.4 kB / 0.5873 GB, free: 31.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5376, allocations: 0.6875 kB / 0.5873 GB, free: 31.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006094/0.5383, allocations: 191.8 kB / 0.5875 GB, free: 31.11 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.0005253/0.5388, allocations: 244.2 kB / 0.5877 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005314/0.5393, allocations: 201 kB / 0.5879 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5393, allocations: 1.031 kB / 0.5879 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.5395, allocations: 83.56 kB / 0.588 GB, free: 31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/0.5404, allocations: 155.4 kB / 0.5881 GB, free: 31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.5415, allocations: 0.6865 MB / 0.5888 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5418, allocations: 0.7973 MB / 0.5896 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.5421, allocations: 75.53 kB / 0.5897 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.5422, allocations: 31.64 kB / 0.5897 GB, free: 29.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5422, allocations: 0 / 0.5897 GB, free: 29.88 MB / 446.1 MB Notification: Performance of Templates: time 0.01377/0.556, allocations: 6.1 MB / 0.5957 GB, free: 29.41 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)