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.006756/0.006756, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001861/0.001861, allocations: 196.9 kB / 16.68 MB, free: 5.973 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9576/0.9576, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3807, allocations: 81.03 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01483/0.3955, allocations: 15.04 MB / 0.6795 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005941/0.4015, allocations: 3.894 MB / 0.6833 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.4021, allocations: 21.94 kB / 0.6834 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007885/0.4029, allocations: 185.9 kB / 0.6835 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.4051, allocations: 0.6787 MB / 0.6842 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.4067, allocations: 485.1 kB / 0.6847 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.4083, allocations: 1.082 MB / 0.6857 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.4088, allocations: 280.4 kB / 0.686 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.4095, allocations: 410.3 kB / 0.6864 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.4099, allocations: 260.2 kB / 0.6866 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.4099, allocations: 21.44 kB / 0.6867 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.4113, allocations: 0.7098 MB / 0.6873 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4114, allocations: 71.62 kB / 0.6874 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.4116, allocations: 191.4 kB / 0.6876 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4127, allocations: 0.7356 MB / 0.6883 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4127, allocations: 0 / 0.6883 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4128, allocations: 0.875 kB / 0.6883 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4128, allocations: 0 / 0.6883 GB, free: 4.383 MB / 0.5137 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.001165/0.4139, allocations: 0.7627 MB / 0.6891 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.414, allocations: 12.59 kB / 0.6891 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.414, allocations: 53.36 kB / 0.6891 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.4141, allocations: 49.91 kB / 0.6892 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009899/0.4151, allocations: 0.5089 MB / 0.6897 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4152, allocations: 16.2 kB / 0.6897 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4152, allocations: 16.06 kB / 0.6897 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.4156, allocations: 183.3 kB / 0.6899 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4156, allocations: 0 / 0.6899 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4156, allocations: 10.33 kB / 0.6899 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4157, allocations: 3.531 kB / 0.6899 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.416, allocations: 141.4 kB / 0.69 GB, free: 2.992 MB / 0.5137 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.001167/0.4172, allocations: 0.8603 MB / 0.6909 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.4175, allocations: 124.6 kB / 0.691 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4176, allocations: 70.59 kB / 0.6911 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.418, allocations: 340.2 kB / 0.6914 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.418, allocations: 32 kB / 0.6914 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.418, allocations: 0 / 0.6914 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006097/0.4186, allocations: 220.9 kB / 0.6916 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4187, allocations: 56.86 kB / 0.6917 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.4191, allocations: 347.9 kB / 0.692 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4191, allocations: 30.92 kB / 0.692 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4193, allocations: 187.2 kB / 0.6922 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4193, allocations: 48.19 kB / 0.6923 GB, free: 1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.4194, allocations: 35.39 kB / 0.6923 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4196, allocations: 341.6 kB / 0.6926 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4197, allocations: 49.53 kB / 0.6927 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4199, allocations: 91.22 kB / 0.6927 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4202, allocations: 116.1 kB / 0.6929 GB, free: 488 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4202, allocations: 0 / 0.6929 GB, free: 488 kB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003676/0.4206, allocations: 191.6 kB / 0.693 GB, free: 368 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4206, allocations: 9.469 kB / 0.6931 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4206, allocations: 0 / 0.6931 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4206, allocations: 1.625 kB / 0.6931 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4208, allocations: 23.3 kB / 0.6931 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4208, allocations: 5.094 kB / 0.6931 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.421, allocations: 25.27 kB / 0.6931 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.421, allocations: 8.344 kB / 0.6931 GB, free: 336 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002195/0.4213, allocations: 158.8 kB / 0.6933 GB, free: 212 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001601/0.4214, allocations: 85.72 kB / 0.6933 GB, free: 144 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002544/0.4217, allocations: 107.9 kB / 0.6934 GB, free: 84 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.4217, allocations: 0 / 0.6934 GB, free: 84 kB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003758/0.4221, allocations: 188.6 kB / 0.6936 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.4221, allocations: 4.688 kB / 0.6936 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.4221, allocations: 1.094 kB / 0.6936 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-06/0.4221, allocations: 1.281 kB / 0.6936 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.4222, allocations: 21.92 kB / 0.6937 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.4222, allocations: 2.094 kB / 0.6937 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.4224, allocations: 20.56 kB / 0.6937 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.4224, allocations: 3.656 kB / 0.6937 GB, free: 15.95 MB / 0.5294 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 0.0001181/0.4226, allocations: 205.1 kB / 0.6939 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.4226, allocations: 36.67 kB / 0.6939 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.4231, allocations: 226.3 kB / 0.6941 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4231, allocations: 1.812 kB / 0.6941 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4231, allocations: 0 / 0.6941 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4232, allocations: 0 / 0.6941 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.4241, allocations: 0.6396 MB / 0.6948 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4241, allocations: 3.594 kB / 0.6948 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.4242, allocations: 21.67 kB / 0.6948 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4242, allocations: 3.812 kB / 0.6948 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.4242, allocations: 7.984 kB / 0.6948 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.4243, allocations: 5.328 kB / 0.6948 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4243, allocations: 9.375 kB / 0.6948 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.4248, allocations: 311.3 kB / 0.6951 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4249, allocations: 126.9 kB / 0.6952 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.425, allocations: 10.62 kB / 0.6952 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.4252, allocations: 10.89 kB / 0.6952 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.4252, allocations: 17.36 kB / 0.6953 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4253, allocations: 9.047 kB / 0.6953 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003102/0.4256, allocations: 248.4 kB / 0.6955 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4256, allocations: 0 / 0.6955 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007144/0.4263, allocations: 192.8 kB / 0.6957 GB, free: 14.43 MB / 0.5294 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.001406/0.4277, allocations: 0.9945 MB / 0.6967 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.4283, allocations: 188.4 kB / 0.6968 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4283, allocations: 0 / 0.6968 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.4285, allocations: 81.45 kB / 0.6969 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.4293, allocations: 152 kB / 0.6971 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.4327, allocations: 2.746 MB / 0.6997 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4331, allocations: 0.7936 MB / 0.7005 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.4334, allocations: 69.38 kB / 0.7006 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4335, allocations: 125 kB / 0.7007 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.4335, allocations: 0 / 0.7007 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.4668, allocations: 10.06 MB / 0.7105 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.857/9.324, allocations: 11.06 kB / 0.7105 GB, free: 1.613 MB / 0.5294 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)