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.0007696/0.0007696, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.004291/0.004291, allocations: 169.4 kB / 16.26 MB, free: 6.68 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: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002693, allocations: 8 kB / 0.5077 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 82.31 MB / 0.5881 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01164/0.1287, allocations: 14.48 MB / 0.6022 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1327, allocations: 3.869 MB / 0.606 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1328, allocations: 19.88 kB / 0.606 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.21/0.3428, allocations: 146.5 kB / 0.6061 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.3443, allocations: 0.6131 MB / 0.6067 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.3452, allocations: 434.1 kB / 0.6072 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.3462, allocations: 1.37 MB / 0.6085 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.3466, allocations: 232.6 kB / 0.6087 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.3471, allocations: 372.5 kB / 0.6091 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.3473, allocations: 268.7 kB / 0.6093 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.3473, allocations: 11.88 kB / 0.6093 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.3481, allocations: 0.6928 MB / 0.61 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.3482, allocations: 67.28 kB / 0.6101 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3483, allocations: 201.5 kB / 0.6103 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.3489, allocations: 0.696 MB / 0.611 GB, free: 34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3489, allocations: 2.812 kB / 0.611 GB, free: 34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3489, allocations: 0 / 0.611 GB, free: 34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3489, allocations: 0 / 0.611 GB, free: 34 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.0007238/0.3497, allocations: 0.6794 MB / 0.6116 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.3497, allocations: 8.5 kB / 0.6116 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.3497, allocations: 53.12 kB / 0.6117 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.3498, allocations: 51.22 kB / 0.6117 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.3504, allocations: 0.4923 MB / 0.6122 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3504, allocations: 12.98 kB / 0.6122 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.3504, allocations: 17.09 kB / 0.6122 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.3508, allocations: 186.8 kB / 0.6124 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3508, allocations: 3.938 kB / 0.6124 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3508, allocations: 4.875 kB / 0.6124 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3508, allocations: 5.281 kB / 0.6124 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.3511, allocations: 153 kB / 0.6126 GB, free: 33.09 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.0007917/0.3519, allocations: 0.86 MB / 0.6134 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3521, allocations: 120.2 kB / 0.6135 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3523, allocations: 86 kB / 0.6136 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.3524, allocations: 334.3 kB / 0.6139 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.3525, allocations: 31.92 kB / 0.614 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.3525, allocations: 0 / 0.614 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004413/0.3529, allocations: 247.9 kB / 0.6142 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.3529, allocations: 54.38 kB / 0.6143 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3532, allocations: 347.3 kB / 0.6146 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3532, allocations: 28.89 kB / 0.6146 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.3533, allocations: 197.5 kB / 0.6148 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3533, allocations: 43.12 kB / 0.6148 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.3533, allocations: 12.59 kB / 0.6149 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.3534, allocations: 346.2 kB / 0.6152 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3535, allocations: 52.19 kB / 0.6152 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3536, allocations: 96.83 kB / 0.6153 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.3539, allocations: 126.6 kB / 0.6154 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3539, allocations: 0 / 0.6154 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002909/0.3542, allocations: 188.8 kB / 0.6156 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3542, allocations: 105.8 kB / 0.6157 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3542, allocations: 0 / 0.6157 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.3542, allocations: 3.469 kB / 0.6157 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3544, allocations: 29.69 kB / 0.6158 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3544, allocations: 2.938 kB / 0.6158 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3546, allocations: 35.98 kB / 0.6158 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3546, allocations: 6.766 kB / 0.6158 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-06/0.3546, allocations: 2.75 kB / 0.6158 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002458/0.3549, allocations: 121.8 kB / 0.6159 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.3549, allocations: 2.844 kB / 0.6159 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-06/0.3549, allocations: 7.141 kB / 0.6159 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.355, allocations: 32.33 kB / 0.616 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.355, allocations: 7.875 kB / 0.616 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.3552, allocations: 24.77 kB / 0.616 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3552, allocations: 12.31 kB / 0.616 GB, free: 31.14 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 9.311e-05/0.3553, allocations: 224.3 kB / 0.6162 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.3553, allocations: 33.84 kB / 0.6163 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3557, allocations: 234 kB / 0.6165 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3557, allocations: 10.34 kB / 0.6165 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3558, allocations: 0 / 0.6165 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3558, allocations: 0 / 0.6165 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.3564, allocations: 0.6451 MB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3564, allocations: 2.75 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.3565, allocations: 25.03 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3565, allocations: 2.906 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3565, allocations: 3.625 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3565, allocations: 3.062 kB / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3565, allocations: 0 / 0.6171 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.3569, allocations: 333.1 kB / 0.6175 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.3569, allocations: 129.7 kB / 0.6176 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.357, allocations: 6.219 kB / 0.6176 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3572, allocations: 30.98 kB / 0.6176 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3572, allocations: 11.33 kB / 0.6176 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3573, allocations: 6.656 kB / 0.6176 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001616/0.3574, allocations: 249.4 kB / 0.6179 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3574, allocations: 0 / 0.6179 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004433/0.3579, allocations: 193.1 kB / 0.6181 GB, free: 30.12 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.0007483/0.3586, allocations: 1.009 MB / 0.619 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.359, allocations: 204.4 kB / 0.6192 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3591, allocations: 4 kB / 0.6192 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3592, allocations: 81.03 kB / 0.6193 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.3599, allocations: 138.5 kB / 0.6195 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3623, allocations: 2.891 MB / 0.6223 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3625, allocations: 0.7935 MB / 0.6231 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.3627, allocations: 83.47 kB / 0.6231 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.3628, allocations: 113 kB / 0.6232 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.3628, allocations: 0 / 0.6232 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.727/2.089, allocations: 9.453 MB / 0.6325 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/2.09, allocations: 242.5 kB / 0.6327 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/4.358, allocations: 0 / 0.6327 GB, free: 26.13 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)