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.0008262/0.000826, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009805/0.0009804, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9817/0.9817, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 82.32 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01594/0.1783, allocations: 13.76 MB / 0.6009 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.1841, allocations: 3.618 MB / 0.6044 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.1845, allocations: 23.88 kB / 0.6045 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.185, allocations: 139 kB / 0.6046 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.1866, allocations: 0.556 MB / 0.6051 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1877, allocations: 406.6 kB / 0.6055 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.338/0.5257, allocations: 1.181 MB / 0.6067 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.5262, allocations: 229.3 kB / 0.6069 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.5268, allocations: 349.3 kB / 0.6072 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.5271, allocations: 246.8 kB / 0.6075 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.5272, allocations: 12.5 kB / 0.6075 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.5283, allocations: 0.6382 MB / 0.6081 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.5284, allocations: 60.81 kB / 0.6082 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.5285, allocations: 96.64 kB / 0.6083 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.5291, allocations: 487.5 kB / 0.6087 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5291, allocations: 0 / 0.6087 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5291, allocations: 6.656 kB / 0.6087 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5291, allocations: 3.281 kB / 0.6087 GB, free: 35.18 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.0008898/0.53, allocations: 0.6774 MB / 0.6094 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5301, allocations: 10.28 kB / 0.6094 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.5301, allocations: 51.89 kB / 0.6094 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.5302, allocations: 47.78 kB / 0.6095 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.531, allocations: 480.3 kB / 0.6099 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.531, allocations: 20.61 kB / 0.61 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.5311, allocations: 20.94 kB / 0.61 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.5314, allocations: 182.7 kB / 0.6102 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5315, allocations: 0 / 0.6102 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.5315, allocations: 6.469 kB / 0.6102 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.5315, allocations: 3.938 kB / 0.6102 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.5318, allocations: 154.4 kB / 0.6103 GB, free: 34.31 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.0009942/0.5328, allocations: 0.8635 MB / 0.6112 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.5331, allocations: 120.7 kB / 0.6113 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5332, allocations: 85.78 kB / 0.6114 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.5335, allocations: 337.3 kB / 0.6117 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5335, allocations: 34.84 kB / 0.6117 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.645e-06/0.5335, allocations: 0.75 kB / 0.6117 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004986/0.5341, allocations: 230.9 kB / 0.6119 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.5341, allocations: 57.81 kB / 0.612 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.5344, allocations: 348.6 kB / 0.6123 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5344, allocations: 29.2 kB / 0.6124 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.5346, allocations: 194.5 kB / 0.6125 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.5346, allocations: 37.23 kB / 0.6126 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.5347, allocations: 1.938 kB / 0.6126 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5348, allocations: 343.8 kB / 0.6129 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.5349, allocations: 42.98 kB / 0.6129 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.5351, allocations: 95.44 kB / 0.613 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.5352, allocations: 61.09 kB / 0.6131 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5352, allocations: 4 kB / 0.6131 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003288/0.5355, allocations: 176.3 kB / 0.6133 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.5356, allocations: 109 kB / 0.6134 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5356, allocations: 0 / 0.6134 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5356, allocations: 0 / 0.6134 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5358, allocations: 33.08 kB / 0.6134 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.5358, allocations: 0 / 0.6134 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.536, allocations: 39.27 kB / 0.6134 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.536, allocations: 4.438 kB / 0.6134 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.536, allocations: 3.031 kB / 0.6134 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000273/0.5363, allocations: 123.5 kB / 0.6136 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.5363, allocations: 2.594 kB / 0.6136 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-06/0.5363, allocations: 0 / 0.6136 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5364, allocations: 32.84 kB / 0.6136 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.5364, allocations: 5.859 kB / 0.6136 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.5366, allocations: 29.22 kB / 0.6136 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5366, allocations: 7.078 kB / 0.6136 GB, free: 32.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.5368, allocations: 235.5 kB / 0.6139 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.5369, allocations: 33.98 kB / 0.6139 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.5373, allocations: 234.2 kB / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5374, allocations: 8.219 kB / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5374, allocations: 0 / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5374, allocations: 0 / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.5381, allocations: 0.6491 MB / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5381, allocations: 0 / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.5382, allocations: 27.47 kB / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5382, allocations: 2.688 kB / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5382, allocations: 2.781 kB / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5383, allocations: 7.828 kB / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5383, allocations: 2.75 kB / 0.6148 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.5386, allocations: 325.2 kB / 0.6151 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.5387, allocations: 138.2 kB / 0.6152 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.5388, allocations: 2.906 kB / 0.6152 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.539, allocations: 28.02 kB / 0.6153 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.539, allocations: 13.23 kB / 0.6153 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.539, allocations: 7.969 kB / 0.6153 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001764/0.5392, allocations: 250.7 kB / 0.6155 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5392, allocations: 0 / 0.6155 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005301/0.5398, allocations: 187.8 kB / 0.6157 GB, free: 31.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008639/0.5406, allocations: 0.9961 MB / 0.6167 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.5411, allocations: 204.2 kB / 0.6169 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5411, allocations: 0 / 0.6169 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.5412, allocations: 90.52 kB / 0.617 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.5419, allocations: 147.4 kB / 0.6171 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.5441, allocations: 1.76 MB / 0.6188 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.5443, allocations: 0.7981 MB / 0.6196 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.5446, allocations: 65.44 kB / 0.6197 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.5447, allocations: 114.9 kB / 0.6198 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5447, allocations: 0 / 0.6198 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.5655, allocations: 9.558 MB / 0.6291 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.5657, allocations: 234.7 kB / 0.6293 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.564, allocations: 0 / 0.6293 GB, free: 28.28 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/linux/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) Environment - environmentSimulation: