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.001311/0.001311, allocations: 103.2 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.001192/0.001192, allocations: 189.2 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.252/1.252, allocations: 222.9 MB / 240.6 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.6533/0.6533, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2762, allocations: 76.17 MB / 0.556 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01171/0.2879, allocations: 14.96 MB / 0.5706 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.292, allocations: 3.871 MB / 0.5744 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.2924, allocations: 21.22 kB / 0.5744 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.2929, allocations: 151.3 kB / 0.5746 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.2944, allocations: 0.6247 MB / 0.5752 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2954, allocations: 436.7 kB / 0.5756 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.2965, allocations: 1.086 MB / 0.5766 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.2968, allocations: 276.6 kB / 0.5769 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.2973, allocations: 414.5 kB / 0.5773 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2976, allocations: 273.3 kB / 0.5776 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.2976, allocations: 20.62 kB / 0.5776 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.2985, allocations: 0.7144 MB / 0.5783 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.2986, allocations: 78.56 kB / 0.5784 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2987, allocations: 186.8 kB / 0.5785 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007819/0.2995, allocations: 0.7143 MB / 0.5792 GB, free: 20.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2995, allocations: 8.562 kB / 0.5792 GB, free: 20.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2995, allocations: 0 / 0.5792 GB, free: 20.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2995, allocations: 0 / 0.5792 GB, free: 20.75 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.0008623/0.3004, allocations: 0.737 MB / 0.58 GB, free: 20.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3004, allocations: 9.688 kB / 0.58 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.3005, allocations: 52.89 kB / 0.58 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.3006, allocations: 42.69 kB / 0.5801 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.3013, allocations: 0.4978 MB / 0.5806 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3013, allocations: 13.39 kB / 0.5806 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3013, allocations: 15 kB / 0.5806 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.3016, allocations: 175.8 kB / 0.5807 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3017, allocations: 10.3 kB / 0.5808 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3017, allocations: 14.09 kB / 0.5808 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3017, allocations: 8.375 kB / 0.5808 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.302, allocations: 137.4 kB / 0.5809 GB, free: 19.59 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.0008502/0.3028, allocations: 0.8579 MB / 0.5817 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3031, allocations: 120.9 kB / 0.5819 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3032, allocations: 73.48 kB / 0.5819 GB, free: 18.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.3034, allocations: 334.6 kB / 0.5823 GB, free: 18.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3035, allocations: 40.69 kB / 0.5823 GB, free: 18.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3035, allocations: 0 / 0.5823 GB, free: 18.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004784/0.3039, allocations: 214.2 kB / 0.5825 GB, free: 18.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.304, allocations: 56.81 kB / 0.5825 GB, free: 18.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.3043, allocations: 350.5 kB / 0.5829 GB, free: 18.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3043, allocations: 25.7 kB / 0.5829 GB, free: 18.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.3044, allocations: 195.5 kB / 0.5831 GB, free: 17.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3044, allocations: 47.92 kB / 0.5831 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.3045, allocations: 42.56 kB / 0.5832 GB, free: 17.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.3045, allocations: 340.1 kB / 0.5835 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3046, allocations: 52.12 kB / 0.5836 GB, free: 17.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3048, allocations: 89.31 kB / 0.5836 GB, free: 17.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.305, allocations: 119.8 kB / 0.5838 GB, free: 17.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.305, allocations: 0 / 0.5838 GB, free: 17.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003083/0.3053, allocations: 174.4 kB / 0.5839 GB, free: 17.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3054, allocations: 9.438 kB / 0.5839 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3054, allocations: 1.141 kB / 0.5839 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.3054, allocations: 9.141 kB / 0.5839 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3055, allocations: 24.56 kB / 0.584 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3055, allocations: 1.859 kB / 0.584 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3057, allocations: 20.41 kB / 0.584 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3057, allocations: 8.828 kB / 0.584 GB, free: 17.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001761/0.3059, allocations: 163.1 kB / 0.5841 GB, free: 17.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001307/0.3061, allocations: 89.72 kB / 0.5842 GB, free: 17.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002052/0.3063, allocations: 110.1 kB / 0.5843 GB, free: 17.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.71e-07/0.3063, allocations: 0 / 0.5843 GB, free: 17.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002929/0.3066, allocations: 176.2 kB / 0.5845 GB, free: 16.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/0.3066, allocations: 8.406 kB / 0.5845 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.3066, allocations: 6.109 kB / 0.5845 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.3066, allocations: 1.219 kB / 0.5845 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3067, allocations: 23.44 kB / 0.5845 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-06/0.3067, allocations: 0 / 0.5845 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3069, allocations: 29.05 kB / 0.5846 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3069, allocations: 6.281 kB / 0.5846 GB, free: 16.96 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.109e-05/0.307, allocations: 188.5 kB / 0.5848 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.3071, allocations: 40.62 kB / 0.5848 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.3075, allocations: 234.5 kB / 0.585 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3075, allocations: 2.734 kB / 0.585 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3075, allocations: 4 kB / 0.585 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3075, allocations: 0.75 kB / 0.585 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.3082, allocations: 0.6338 MB / 0.5856 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3082, allocations: 1.031 kB / 0.5856 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3083, allocations: 28.28 kB / 0.5857 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3083, allocations: 5.375 kB / 0.5857 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3083, allocations: 3.516 kB / 0.5857 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3083, allocations: 2.078 kB / 0.5857 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3083, allocations: 1.312 kB / 0.5857 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3087, allocations: 321.1 kB / 0.586 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3088, allocations: 130.1 kB / 0.5861 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3088, allocations: 3.812 kB / 0.5861 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3091, allocations: 21.98 kB / 0.5861 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3091, allocations: 12.66 kB / 0.5862 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3091, allocations: 6.281 kB / 0.5862 GB, free: 15.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.3093, allocations: 253.8 kB / 0.5864 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3093, allocations: 0.9062 kB / 0.5864 GB, free: 15.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.3098, allocations: 192.5 kB / 0.5866 GB, free: 15.64 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.0008211/0.3107, allocations: 0.9871 MB / 0.5875 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3111, allocations: 204.3 kB / 0.5877 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3111, allocations: 1.375 kB / 0.5877 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3113, allocations: 76.61 kB / 0.5878 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.312, allocations: 158 kB / 0.588 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.3147, allocations: 2.834 MB / 0.5907 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.3149, allocations: 0.7971 MB / 0.5915 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.3151, allocations: 74.83 kB / 0.5916 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3152, allocations: 114.1 kB / 0.5917 GB, free: 12 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3152, allocations: 0 / 0.5917 GB, free: 12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.934/2.249, allocations: 9.823 MB / 0.6013 GB, free: 5.844 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/2.249, allocations: 247.2 kB / 0.6015 GB, free: 5.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/4.205, allocations: 3.938 kB / 0.6015 GB, free: 5.586 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)