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.001305/0.001305, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001793/0.001793, allocations: 177.3 kB / 15.95 MB, free: 216 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.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8535/0.8535, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003025, allocations: 8 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 82.31 MB / 0.5873 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01084/0.1481, allocations: 12.63 MB / 0.5996 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.1527, allocations: 3.326 MB / 0.6029 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.1531, allocations: 15.94 kB / 0.6029 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.1537, allocations: 187 kB / 0.6031 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.1558, allocations: 0.6616 MB / 0.6037 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1576, allocations: 0.5358 MB / 0.6042 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.159, allocations: 0.7301 MB / 0.6049 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.1594, allocations: 225 kB / 0.6051 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.16, allocations: 338.8 kB / 0.6055 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.1602, allocations: 183.2 kB / 0.6056 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1603, allocations: 12 kB / 0.6057 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2544/0.4147, allocations: 0.497 MB / 0.6061 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4148, allocations: 57.7 kB / 0.6062 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.415, allocations: 93.95 kB / 0.6063 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.4156, allocations: 451.4 kB / 0.6067 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4156, allocations: 0 / 0.6067 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4156, allocations: 0.9688 kB / 0.6067 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.4156, allocations: 0 / 0.6067 GB, free: 35.27 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.0008057/0.4164, allocations: 0.6706 MB / 0.6074 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4165, allocations: 8.906 kB / 0.6074 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.4165, allocations: 51.08 kB / 0.6074 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.4166, allocations: 44.81 kB / 0.6075 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.4172, allocations: 411.9 kB / 0.6079 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4172, allocations: 19.81 kB / 0.6079 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.4173, allocations: 17.66 kB / 0.6079 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.4176, allocations: 182.2 kB / 0.6081 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4176, allocations: 2.062 kB / 0.6081 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.4176, allocations: 8.906 kB / 0.6081 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4177, allocations: 3.625 kB / 0.6081 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.4179, allocations: 152.7 kB / 0.6082 GB, free: 34.43 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.0008533/0.4188, allocations: 0.8835 MB / 0.6091 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4191, allocations: 127.7 kB / 0.6092 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.4193, allocations: 335.8 kB / 0.6095 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4193, allocations: 45.81 kB / 0.6096 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.4193, allocations: 2.156 kB / 0.6096 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004754/0.4198, allocations: 233.6 kB / 0.6098 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.4198, allocations: 57.83 kB / 0.6099 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.4201, allocations: 371 kB / 0.6102 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4201, allocations: 32.48 kB / 0.6102 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.4202, allocations: 192 kB / 0.6104 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4203, allocations: 37.19 kB / 0.6105 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4203, allocations: 3.062 kB / 0.6105 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.4203, allocations: 341.6 kB / 0.6108 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4204, allocations: 48.62 kB / 0.6108 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4206, allocations: 99.34 kB / 0.6109 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.4207, allocations: 56.84 kB / 0.611 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4207, allocations: 2.734 kB / 0.611 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003084/0.421, allocations: 186.6 kB / 0.6112 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.4211, allocations: 190.5 kB / 0.6114 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4211, allocations: 3.375 kB / 0.6114 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4211, allocations: 0 / 0.6114 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4212, allocations: 28.19 kB / 0.6114 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4212, allocations: 0 / 0.6114 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4215, allocations: 39.14 kB / 0.6114 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.4215, allocations: 5.734 kB / 0.6114 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.4215, allocations: 5.375 kB / 0.6114 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002432/0.4217, allocations: 120.9 kB / 0.6115 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-06/0.4218, allocations: 96 / 0.6115 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.4218, allocations: 10.53 kB / 0.6116 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.4219, allocations: 30.19 kB / 0.6116 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.4219, allocations: 2.938 kB / 0.6116 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4221, allocations: 34.34 kB / 0.6116 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4221, allocations: 12.92 kB / 0.6116 GB, free: 32.44 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.0001132/0.4222, allocations: 221.6 kB / 0.6118 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.4223, allocations: 29.97 kB / 0.6119 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.4227, allocations: 232.1 kB / 0.6121 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4227, allocations: 10.03 kB / 0.6121 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4227, allocations: 0 / 0.6121 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4227, allocations: 0 / 0.6121 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.4234, allocations: 0.6605 MB / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4234, allocations: 0 / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.4235, allocations: 29.39 kB / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4235, allocations: 0 / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4235, allocations: 9.75 kB / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4236, allocations: 7.984 kB / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4236, allocations: 0 / 0.6128 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.4239, allocations: 364.6 kB / 0.6131 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.424, allocations: 130.7 kB / 0.6133 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.4241, allocations: 6.312 kB / 0.6133 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.4243, allocations: 23.73 kB / 0.6133 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.4243, allocations: 19.89 kB / 0.6133 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4244, allocations: 6.688 kB / 0.6133 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002594/0.4246, allocations: 271.4 kB / 0.6136 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4246, allocations: 0 / 0.6136 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005486/0.4252, allocations: 196.6 kB / 0.6138 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.0008711/0.4261, allocations: 1.254 MB / 0.615 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.4265, allocations: 205.4 kB / 0.6152 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4265, allocations: 0 / 0.6152 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4267, allocations: 86.14 kB / 0.6153 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.4273, allocations: 141.4 kB / 0.6154 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4294, allocations: 1.973 MB / 0.6173 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4296, allocations: 0.8026 MB / 0.6181 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.4298, allocations: 74.17 kB / 0.6182 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.43, allocations: 112.3 kB / 0.6183 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.43, allocations: 0 / 0.6183 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.623/2.053, allocations: 9.988 MB / 0.628 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/2.053, allocations: 232 kB / 0.6283 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.085/5.138, allocations: 0 / 0.6283 GB, free: 27.84 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: