Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_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.001108/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001134/0.001134, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6445/0.6445, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001082, allocations: 59.12 kB / 0.5013 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1099, allocations: 80.2 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01164/0.1215, allocations: 14.98 MB / 0.5943 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.1253, allocations: 3.884 MB / 0.5981 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1254, allocations: 15.94 kB / 0.5981 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1258, allocations: 151.1 kB / 0.5983 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009927/0.1268, allocations: 0.627 MB / 0.5989 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.1276, allocations: 439.2 kB / 0.5993 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009792/0.1286, allocations: 1.087 MB / 0.6003 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.1289, allocations: 273.5 kB / 0.6006 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.1293, allocations: 406.3 kB / 0.601 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1296, allocations: 282.7 kB / 0.6013 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1296, allocations: 20 kB / 0.6013 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/0.1304, allocations: 0.7212 MB / 0.602 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.1305, allocations: 67.75 kB / 0.6021 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1306, allocations: 187 kB / 0.6022 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.1313, allocations: 0.7244 MB / 0.6029 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1313, allocations: 0 / 0.6029 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1313, allocations: 0 / 0.6029 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1313, allocations: 0 / 0.6029 GB, free: 1.133 MB / 0.4981 GB 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.0008386/0.1322, allocations: 0.7488 MB / 0.6037 GB, free: 344 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.1322, allocations: 8.031 kB / 0.6037 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.1322, allocations: 54.73 kB / 0.6037 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.1323, allocations: 44.38 kB / 0.6038 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.207/0.3393, allocations: 498.1 kB / 0.6042 GB, free: 58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3393, allocations: 16.33 kB / 0.6043 GB, free: 58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3394, allocations: 19.44 kB / 0.6043 GB, free: 58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3397, allocations: 181.7 kB / 0.6045 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3397, allocations: 0 / 0.6045 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3397, allocations: 7.219 kB / 0.6045 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3397, allocations: 9.906 kB / 0.6045 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.34, allocations: 138.3 kB / 0.6046 GB, free: 57.96 MB / 0.4981 GB 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.0007402/0.3407, allocations: 0.858 MB / 0.6054 GB, free: 57.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3409, allocations: 118.8 kB / 0.6056 GB, free: 57.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.341, allocations: 80.75 kB / 0.6056 GB, free: 57.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.3413, allocations: 336 kB / 0.6059 GB, free: 57.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.3413, allocations: 37.22 kB / 0.606 GB, free: 56.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3413, allocations: 0 / 0.606 GB, free: 56.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004101/0.3417, allocations: 214.5 kB / 0.6062 GB, free: 56.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.3417, allocations: 55.38 kB / 0.6062 GB, free: 56.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3419, allocations: 351.8 kB / 0.6066 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.342, allocations: 28.02 kB / 0.6066 GB, free: 56.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.342, allocations: 188.5 kB / 0.6068 GB, free: 56.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.3421, allocations: 45.14 kB / 0.6068 GB, free: 56.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.3421, allocations: 37.72 kB / 0.6069 GB, free: 56.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.3422, allocations: 350.7 kB / 0.6072 GB, free: 56.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3423, allocations: 52.92 kB / 0.6072 GB, free: 56.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3424, allocations: 80.97 kB / 0.6073 GB, free: 56.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3426, allocations: 126.5 kB / 0.6074 GB, free: 56.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3426, allocations: 0 / 0.6074 GB, free: 56.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002583/0.3429, allocations: 168.1 kB / 0.6076 GB, free: 55.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3429, allocations: 5.906 kB / 0.6076 GB, free: 55.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3429, allocations: 3.188 kB / 0.6076 GB, free: 55.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3429, allocations: 0 / 0.6076 GB, free: 55.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.343, allocations: 26.81 kB / 0.6076 GB, free: 55.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.343, allocations: 6 kB / 0.6076 GB, free: 55.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3432, allocations: 22.41 kB / 0.6077 GB, free: 55.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.3432, allocations: 8.406 kB / 0.6077 GB, free: 55.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000147/0.3434, allocations: 160.1 kB / 0.6078 GB, free: 55.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001043/0.3435, allocations: 90.34 kB / 0.6079 GB, free: 55.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001736/0.3437, allocations: 115.5 kB / 0.608 GB, free: 55.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.3437, allocations: 6.906 kB / 0.608 GB, free: 55.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002477/0.3439, allocations: 173.2 kB / 0.6082 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.344, allocations: 9.438 kB / 0.6082 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.344, allocations: 0 / 0.6082 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-06/0.344, allocations: 0 / 0.6082 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3441, allocations: 24.69 kB / 0.6082 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.3441, allocations: 3.188 kB / 0.6082 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3442, allocations: 29.62 kB / 0.6083 GB, free: 55.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3443, allocations: 6.547 kB / 0.6083 GB, free: 55.7 MB / 0.4981 GB 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 4.96e-05/0.3443, allocations: 193.1 kB / 0.6084 GB, free: 55.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.3444, allocations: 35.69 kB / 0.6085 GB, free: 55.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.3448, allocations: 226.5 kB / 0.6087 GB, free: 55.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3449, allocations: 2.75 kB / 0.6087 GB, free: 55.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3449, allocations: 2.344 kB / 0.6087 GB, free: 55.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3449, allocations: 3.938 kB / 0.6087 GB, free: 55.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.3458, allocations: 0.6343 MB / 0.6093 GB, free: 54.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3458, allocations: 2.656 kB / 0.6093 GB, free: 54.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.346, allocations: 32.28 kB / 0.6094 GB, free: 54.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.346, allocations: 0 / 0.6094 GB, free: 54.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.346, allocations: 6.875 kB / 0.6094 GB, free: 54.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.346, allocations: 2.781 kB / 0.6094 GB, free: 54.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3461, allocations: 7.406 kB / 0.6094 GB, free: 54.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.3465, allocations: 318.1 kB / 0.6097 GB, free: 54.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3467, allocations: 123.8 kB / 0.6098 GB, free: 54.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.3467, allocations: 6.781 kB / 0.6098 GB, free: 54.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.3471, allocations: 24.17 kB / 0.6098 GB, free: 54.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3471, allocations: 12.89 kB / 0.6098 GB, free: 54.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3472, allocations: 5.562 kB / 0.6098 GB, free: 54.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002574/0.3474, allocations: 245.8 kB / 0.6101 GB, free: 54.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3474, allocations: 0.9844 kB / 0.6101 GB, free: 54.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007806/0.3482, allocations: 195.3 kB / 0.6103 GB, free: 54.46 MB / 0.4981 GB 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.001072/0.3493, allocations: 0.9937 MB / 0.6112 GB, free: 53.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.3499, allocations: 201 kB / 0.6114 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.35, allocations: 0 / 0.6114 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3502, allocations: 78.39 kB / 0.6115 GB, free: 53.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.3511, allocations: 158.5 kB / 0.6117 GB, free: 53.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3534, allocations: 2.823 MB / 0.6144 GB, free: 51.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3535, allocations: 0.7978 MB / 0.6152 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.3537, allocations: 80.77 kB / 0.6153 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.3538, allocations: 114.2 kB / 0.6154 GB, free: 50.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3538, allocations: 0 / 0.6154 GB, free: 50.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2348/0.5886, allocations: 9.804 MB / 0.625 GB, free: 50.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.5888, allocations: 239.7 kB / 0.6252 GB, free: 49.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.336, allocations: 4 kB / 0.6252 GB, free: 49.88 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)