Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001207/0.001207, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8147/0.8147, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 64.88 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1236, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01353/0.1372, allocations: 14.97 MB / 0.5986 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004208/0.1414, allocations: 3.872 MB / 0.6024 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1416, allocations: 23.88 kB / 0.6024 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.142, allocations: 151.1 kB / 0.6026 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1433, allocations: 0.6262 MB / 0.6032 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.1442, allocations: 433.4 kB / 0.6036 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.21/0.3542, allocations: 1.082 MB / 0.6046 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.3546, allocations: 274.9 kB / 0.6049 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.3552, allocations: 406.4 kB / 0.6053 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.3554, allocations: 278.2 kB / 0.6055 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3554, allocations: 19.62 kB / 0.6056 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009343/0.3564, allocations: 0.7202 MB / 0.6063 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.3564, allocations: 79.17 kB / 0.6063 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3566, allocations: 181.2 kB / 0.6065 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.3572, allocations: 0.7225 MB / 0.6072 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3572, allocations: 3.188 kB / 0.6072 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3572, allocations: 0 / 0.6072 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3572, allocations: 0.6875 kB / 0.6072 GB, free: 36.15 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.0007774/0.358, allocations: 0.7463 MB / 0.608 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.358, allocations: 9.688 kB / 0.608 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.3581, allocations: 54.75 kB / 0.608 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.3582, allocations: 42.16 kB / 0.6081 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.3588, allocations: 0.4913 MB / 0.6085 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3588, allocations: 16.42 kB / 0.6086 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3588, allocations: 15.56 kB / 0.6086 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.3591, allocations: 174.8 kB / 0.6087 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3591, allocations: 4 kB / 0.6087 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3591, allocations: 7.562 kB / 0.6087 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3592, allocations: 7.781 kB / 0.6088 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.3594, allocations: 137.1 kB / 0.6089 GB, free: 35.27 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.0007332/0.3602, allocations: 0.8614 MB / 0.6097 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3604, allocations: 118.9 kB / 0.6098 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.3605, allocations: 78.91 kB / 0.6099 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.3607, allocations: 336.5 kB / 0.6102 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3607, allocations: 37.25 kB / 0.6103 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3607, allocations: 0 / 0.6103 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004348/0.3612, allocations: 219.2 kB / 0.6105 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.3612, allocations: 58.69 kB / 0.6105 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3615, allocations: 351.6 kB / 0.6109 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3615, allocations: 28.58 kB / 0.6109 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.3615, allocations: 192.9 kB / 0.6111 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3616, allocations: 39.59 kB / 0.6111 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.3616, allocations: 41.53 kB / 0.6112 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.3617, allocations: 337.7 kB / 0.6115 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3618, allocations: 56.88 kB / 0.6115 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3619, allocations: 85.48 kB / 0.6116 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3621, allocations: 119.2 kB / 0.6117 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3621, allocations: 3.219 kB / 0.6117 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002786/0.3624, allocations: 174.9 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3624, allocations: 5.719 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3624, allocations: 7.875 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3625, allocations: 2.906 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3626, allocations: 24 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3626, allocations: 6.25 kB / 0.6119 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.3628, allocations: 30.31 kB / 0.612 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3628, allocations: 5.625 kB / 0.612 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001531/0.363, allocations: 154 kB / 0.6121 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001105/0.3631, allocations: 84.25 kB / 0.6122 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001859/0.3633, allocations: 121.5 kB / 0.6123 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/0.3633, allocations: 0 / 0.6123 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002584/0.3636, allocations: 174 kB / 0.6125 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-06/0.3636, allocations: 5.75 kB / 0.6125 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.3636, allocations: 0 / 0.6125 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.3636, allocations: 6.875 kB / 0.6125 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.3637, allocations: 21.14 kB / 0.6125 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.3637, allocations: 6.906 kB / 0.6125 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3639, allocations: 21.23 kB / 0.6125 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3639, allocations: 9.078 kB / 0.6126 GB, free: 33.22 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.972e-05/0.3639, allocations: 188.8 kB / 0.6127 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.364, allocations: 36.88 kB / 0.6128 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.3644, allocations: 236.5 kB / 0.613 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3644, allocations: 5.719 kB / 0.613 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3644, allocations: 0 / 0.613 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3644, allocations: 0 / 0.613 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.365, allocations: 0.635 MB / 0.6136 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.365, allocations: 2.938 kB / 0.6136 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/0.3651, allocations: 26.05 kB / 0.6137 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3651, allocations: 0 / 0.6137 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3651, allocations: 9.312 kB / 0.6137 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3651, allocations: 3 kB / 0.6137 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3651, allocations: 0 / 0.6137 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.3655, allocations: 319.5 kB / 0.614 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.3655, allocations: 123 kB / 0.6141 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3656, allocations: 7.797 kB / 0.6141 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.3658, allocations: 24.5 kB / 0.6141 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3658, allocations: 11.09 kB / 0.6141 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3658, allocations: 7.406 kB / 0.6141 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001633/0.366, allocations: 247.8 kB / 0.6144 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.366, allocations: 0 / 0.6144 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004415/0.3665, allocations: 191.3 kB / 0.6146 GB, free: 32.21 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.0007395/0.3672, allocations: 1.007 MB / 0.6155 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.3676, allocations: 198.5 kB / 0.6157 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3676, allocations: 3.406 kB / 0.6157 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3678, allocations: 80.27 kB / 0.6158 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.3685, allocations: 144.2 kB / 0.6159 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3708, allocations: 2.837 MB / 0.6187 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.371, allocations: 0.7901 MB / 0.6195 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.3712, allocations: 79.05 kB / 0.6196 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3713, allocations: 115.3 kB / 0.6197 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3713, allocations: 0 / 0.6197 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.744/1.115, allocations: 9.808 MB / 0.6292 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.115, allocations: 250.1 kB / 0.6295 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/3.132, allocations: 0 / 0.6295 GB, free: 28.1 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)