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.001033/0.001033, allocations: 103.8 kB / 16.27 MB, free: 6.355 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.0009678/0.0009678, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.209/1.209, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.672/0.672, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 67.89 kB / 0.4912 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2837, allocations: 77.92 MB / 0.5673 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01198/0.2957, allocations: 15.02 MB / 0.5819 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.3001, allocations: 3.888 MB / 0.5857 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.3006, allocations: 21.75 kB / 0.5858 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.3011, allocations: 184.8 kB / 0.5859 GB, free: 19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.3024, allocations: 0.6909 MB / 0.5866 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3035, allocations: 466.7 kB / 0.5871 GB, free: 18.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.3045, allocations: 1.088 MB / 0.5881 GB, free: 17.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.3048, allocations: 278.1 kB / 0.5884 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.3053, allocations: 396 kB / 0.5888 GB, free: 17.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.3055, allocations: 261.6 kB / 0.589 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.3056, allocations: 20.44 kB / 0.589 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009073/0.3065, allocations: 0.7233 MB / 0.5897 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3066, allocations: 71.86 kB / 0.5898 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3067, allocations: 192.6 kB / 0.59 GB, free: 16.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.3075, allocations: 0.7078 MB / 0.5907 GB, free: 16.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3075, allocations: 1.125 kB / 0.5907 GB, free: 16.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3075, allocations: 3.938 kB / 0.5907 GB, free: 16.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3075, allocations: 1.094 kB / 0.5907 GB, free: 16.02 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.0008256/0.3083, allocations: 0.7439 MB / 0.5914 GB, free: 15.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3084, allocations: 11.56 kB / 0.5914 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.3084, allocations: 52.64 kB / 0.5915 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3085, allocations: 46.22 kB / 0.5915 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.3091, allocations: 0.491 MB / 0.592 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3092, allocations: 11.7 kB / 0.592 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3092, allocations: 17.94 kB / 0.592 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.3095, allocations: 180.5 kB / 0.5922 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3095, allocations: 0 / 0.5922 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3096, allocations: 10.34 kB / 0.5922 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3096, allocations: 4.812 kB / 0.5922 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.3099, allocations: 137.3 kB / 0.5923 GB, free: 14.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.0008154/0.3107, allocations: 0.8752 MB / 0.5932 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3109, allocations: 120.6 kB / 0.5933 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.3111, allocations: 74.16 kB / 0.5934 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.3113, allocations: 339.3 kB / 0.5937 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3113, allocations: 41.66 kB / 0.5938 GB, free: 13.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3113, allocations: 0 / 0.5938 GB, free: 13.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004837/0.3118, allocations: 216 kB / 0.594 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.3119, allocations: 52.72 kB / 0.594 GB, free: 13.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.3121, allocations: 352.1 kB / 0.5943 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3121, allocations: 26.95 kB / 0.5944 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.3122, allocations: 190.5 kB / 0.5946 GB, free: 12.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3123, allocations: 52.52 kB / 0.5946 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.3123, allocations: 31.89 kB / 0.5946 GB, free: 12.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.3124, allocations: 341.9 kB / 0.595 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3125, allocations: 56.53 kB / 0.595 GB, free: 12.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3127, allocations: 87.28 kB / 0.5951 GB, free: 12.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.3129, allocations: 113.6 kB / 0.5952 GB, free: 12.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3129, allocations: 1.469 kB / 0.5952 GB, free: 12.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003207/0.3132, allocations: 180.3 kB / 0.5954 GB, free: 12.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3133, allocations: 10.22 kB / 0.5954 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3133, allocations: 0 / 0.5954 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3133, allocations: 5.5 kB / 0.5954 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3134, allocations: 26.89 kB / 0.5954 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3134, allocations: 1.375 kB / 0.5954 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.3136, allocations: 20.12 kB / 0.5954 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3136, allocations: 4.625 kB / 0.5954 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001721/0.3138, allocations: 158 kB / 0.5956 GB, free: 11.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000128/0.3139, allocations: 93.41 kB / 0.5957 GB, free: 11.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002155/0.3142, allocations: 112.2 kB / 0.5958 GB, free: 11.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.3142, allocations: 1.688 kB / 0.5958 GB, free: 11.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003004/0.3145, allocations: 170.8 kB / 0.596 GB, free: 11.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.3145, allocations: 4.344 kB / 0.596 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.3145, allocations: 9.219 kB / 0.596 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-06/0.3145, allocations: 0.9688 kB / 0.596 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3146, allocations: 27.48 kB / 0.596 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-06/0.3146, allocations: 0 / 0.596 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3148, allocations: 17.67 kB / 0.596 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3148, allocations: 4.312 kB / 0.596 GB, free: 11.64 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.521e-05/0.3149, allocations: 189.2 kB / 0.5962 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.3149, allocations: 43.97 kB / 0.5962 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.3154, allocations: 231.3 kB / 0.5965 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3154, allocations: 2.469 kB / 0.5965 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3154, allocations: 0 / 0.5965 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3154, allocations: 1.312 kB / 0.5965 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.3161, allocations: 0.6294 MB / 0.5971 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3161, allocations: 1.25 kB / 0.5971 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3162, allocations: 35.58 kB / 0.5971 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3162, allocations: 1.125 kB / 0.5971 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3162, allocations: 7.016 kB / 0.5971 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3162, allocations: 1.062 kB / 0.5971 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3162, allocations: 1.062 kB / 0.5971 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.3166, allocations: 323.3 kB / 0.5974 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.3167, allocations: 130.4 kB / 0.5976 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3167, allocations: 2.344 kB / 0.5976 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3169, allocations: 19.39 kB / 0.5976 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.317, allocations: 9.766 kB / 0.5976 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.317, allocations: 9.266 kB / 0.5976 GB, free: 10.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.3172, allocations: 251.1 kB / 0.5978 GB, free: 10.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3172, allocations: 0 / 0.5978 GB, free: 10.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.3177, allocations: 190 kB / 0.598 GB, free: 10.12 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.0008303/0.3186, allocations: 0.9959 MB / 0.599 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.319, allocations: 195.9 kB / 0.5992 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.319, allocations: 0 / 0.5992 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.3192, allocations: 78.59 kB / 0.5992 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.3199, allocations: 150.6 kB / 0.5994 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.3224, allocations: 2.745 MB / 0.6021 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.3225, allocations: 0.7918 MB / 0.6028 GB, free: 5.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.3227, allocations: 72.8 kB / 0.6029 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3229, allocations: 115.4 kB / 0.603 GB, free: 5.562 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3229, allocations: 4 kB / 0.603 GB, free: 5.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.812/5.135, allocations: 9.988 MB / 0.6128 GB, free: 11.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/15.83, allocations: 13.8 kB / 0.6128 GB, free: 11.79 MB / 462.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)