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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004124/0.004124, allocations: 100.7 kB / 15.87 MB, free: 6.293 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.001086/0.001087, allocations: 198.3 kB / 16.79 MB, free: 6.223 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.276/1.276, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6381/0.6381, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 70.92 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 76.18 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0166/0.1432, allocations: 14.98 MB / 0.5705 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.1483, allocations: 3.923 MB / 0.5743 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.1489, allocations: 19.94 kB / 0.5743 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.1495, allocations: 151.1 kB / 0.5745 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.1511, allocations: 0.6176 MB / 0.5751 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.1523, allocations: 426.1 kB / 0.5755 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.1539, allocations: 1.376 MB / 0.5768 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.1544, allocations: 245.1 kB / 0.577 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.1551, allocations: 370.4 kB / 0.5774 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.1555, allocations: 274.7 kB / 0.5777 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.1556, allocations: 12 kB / 0.5777 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1567, allocations: 0.6939 MB / 0.5784 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1568, allocations: 71.61 kB / 0.5784 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.157, allocations: 175 kB / 0.5786 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.158, allocations: 0.705 MB / 0.5793 GB, free: 2.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.158, allocations: 0 / 0.5793 GB, free: 2.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.158, allocations: 0 / 0.5793 GB, free: 2.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.158, allocations: 0 / 0.5793 GB, free: 2.68 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.001004/0.159, allocations: 0.7475 MB / 0.58 GB, free: 1.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1591, allocations: 8.031 kB / 0.58 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.1591, allocations: 50.73 kB / 0.5801 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.1592, allocations: 40.47 kB / 0.5801 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.16, allocations: 0.5015 MB / 0.5806 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.16, allocations: 16.33 kB / 0.5806 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.16, allocations: 16 kB / 0.5806 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1604, allocations: 172.2 kB / 0.5808 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1604, allocations: 0 / 0.5808 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1604, allocations: 12 kB / 0.5808 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1604, allocations: 4 kB / 0.5808 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.1607, allocations: 140.4 kB / 0.5809 GB, free: 0.8867 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.1937/0.3544, allocations: 0.8588 MB / 0.5818 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.3548, allocations: 118.5 kB / 0.5819 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.355, allocations: 75.17 kB / 0.582 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.3552, allocations: 334.5 kB / 0.5823 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3553, allocations: 39.75 kB / 0.5823 GB, free: 33.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.3553, allocations: 0.7188 kB / 0.5823 GB, free: 33.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005918/0.3559, allocations: 216.6 kB / 0.5825 GB, free: 33.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.3559, allocations: 57.25 kB / 0.5826 GB, free: 33.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3562, allocations: 348.6 kB / 0.5829 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3562, allocations: 28.61 kB / 0.5829 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.3563, allocations: 191.4 kB / 0.5831 GB, free: 33.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3564, allocations: 41.52 kB / 0.5832 GB, free: 33.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.3564, allocations: 39.8 kB / 0.5832 GB, free: 33.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.3565, allocations: 341.5 kB / 0.5835 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3566, allocations: 50.48 kB / 0.5836 GB, free: 33.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3568, allocations: 89.94 kB / 0.5837 GB, free: 33.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.3571, allocations: 123.2 kB / 0.5838 GB, free: 33.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3571, allocations: 0 / 0.5838 GB, free: 33.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003545/0.3574, allocations: 177.2 kB / 0.5839 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3574, allocations: 5.625 kB / 0.5839 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3575, allocations: 2.594 kB / 0.5839 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3575, allocations: 1.094 kB / 0.584 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.3576, allocations: 28.66 kB / 0.584 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3576, allocations: 1.312 kB / 0.584 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3579, allocations: 36.59 kB / 0.584 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3579, allocations: 5.719 kB / 0.584 GB, free: 33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001836/0.3581, allocations: 160.4 kB / 0.5842 GB, free: 32.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001351/0.3582, allocations: 85.45 kB / 0.5843 GB, free: 32.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002208/0.3585, allocations: 116 kB / 0.5844 GB, free: 32.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.3585, allocations: 1.281 kB / 0.5844 GB, free: 32.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003097/0.3588, allocations: 168.1 kB / 0.5845 GB, free: 32.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.3588, allocations: 10.91 kB / 0.5845 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.3588, allocations: 0 / 0.5845 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-06/0.3588, allocations: 4.938 kB / 0.5845 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3589, allocations: 27.75 kB / 0.5846 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.3589, allocations: 1.906 kB / 0.5846 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3591, allocations: 25.91 kB / 0.5846 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3591, allocations: 5.125 kB / 0.5846 GB, free: 32.8 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 5.96e-05/0.3592, allocations: 191.8 kB / 0.5848 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3593, allocations: 36.47 kB / 0.5848 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.3597, allocations: 233.5 kB / 0.585 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3597, allocations: 2.359 kB / 0.585 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3597, allocations: 96 / 0.585 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3597, allocations: 9.344 kB / 0.5851 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.3605, allocations: 0.6233 MB / 0.5857 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3606, allocations: 0.9688 kB / 0.5857 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3607, allocations: 29.09 kB / 0.5857 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3607, allocations: 5.484 kB / 0.5857 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3607, allocations: 8.625 kB / 0.5857 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3607, allocations: 4.062 kB / 0.5857 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3607, allocations: 1.75 kB / 0.5857 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.3611, allocations: 323.8 kB / 0.586 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.3612, allocations: 121.9 kB / 0.5861 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.3612, allocations: 6.953 kB / 0.5861 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3614, allocations: 22.34 kB / 0.5862 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3615, allocations: 13.86 kB / 0.5862 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3615, allocations: 4.531 kB / 0.5862 GB, free: 31.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.3617, allocations: 247.2 kB / 0.5864 GB, free: 31.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3617, allocations: 0 / 0.5864 GB, free: 31.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006274/0.3624, allocations: 192.2 kB / 0.5866 GB, free: 31.58 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.0008807/0.3633, allocations: 0.9998 MB / 0.5876 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.3637, allocations: 189.1 kB / 0.5878 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3637, allocations: 0 / 0.5878 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3639, allocations: 76.42 kB / 0.5878 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.3647, allocations: 147.8 kB / 0.588 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.3676, allocations: 2.837 MB / 0.5907 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.3678, allocations: 0.7925 MB / 0.5915 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.368, allocations: 80.55 kB / 0.5916 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3681, allocations: 112.9 kB / 0.5917 GB, free: 28.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3682, allocations: 5.312 kB / 0.5917 GB, free: 28.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6678/1.036, allocations: 9.602 MB / 0.6011 GB, free: 26.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.036, allocations: 248.4 kB / 0.6013 GB, free: 25.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.162, allocations: 0 / 0.6013 GB, free: 25.8 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)