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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001253/0.001253, allocations: 199.2 kB / 16.14 MB, free: 6.66 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8416/0.8416, allocations: 135.1 MB / 425.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.94 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 80.93 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01308/0.1406, allocations: 15 MB / 0.5985 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004493/0.1451, allocations: 3.911 MB / 0.6023 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.1454, allocations: 27.88 kB / 0.6023 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.1459, allocations: 147.1 kB / 0.6024 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.1471, allocations: 0.6172 MB / 0.603 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.148, allocations: 434 kB / 0.6035 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.223/0.371, allocations: 1.359 MB / 0.6048 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.3714, allocations: 243.8 kB / 0.605 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005062/0.3719, allocations: 367.8 kB / 0.6054 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.3722, allocations: 269 kB / 0.6056 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.3722, allocations: 13.16 kB / 0.6056 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.3732, allocations: 0.7007 MB / 0.6063 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.3732, allocations: 72.31 kB / 0.6064 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3734, allocations: 177.8 kB / 0.6066 GB, free: 36.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.374, allocations: 0.7068 MB / 0.6073 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.374, allocations: 0 / 0.6073 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.42e-07/0.374, allocations: 3.562 kB / 0.6073 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.374, allocations: 0.875 kB / 0.6073 GB, free: 36.1 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.0009122/0.375, allocations: 0.7462 MB / 0.608 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.375, allocations: 13.81 kB / 0.608 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3751, allocations: 51.02 kB / 0.608 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.3751, allocations: 43.36 kB / 0.6081 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.3758, allocations: 0.4892 MB / 0.6086 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3759, allocations: 13.42 kB / 0.6086 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.3759, allocations: 17.91 kB / 0.6086 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.3762, allocations: 179 kB / 0.6088 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3762, allocations: 2.812 kB / 0.6088 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3762, allocations: 3.812 kB / 0.6088 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3762, allocations: 5.875 kB / 0.6088 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.3765, allocations: 144.6 kB / 0.6089 GB, free: 35.22 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.000787/0.3773, allocations: 0.8559 MB / 0.6098 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3775, allocations: 116.8 kB / 0.6099 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3777, allocations: 73.03 kB / 0.6099 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3779, allocations: 343.8 kB / 0.6103 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.3779, allocations: 30.56 kB / 0.6103 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.3779, allocations: 0 / 0.6103 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004517/0.3784, allocations: 222.1 kB / 0.6105 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.3784, allocations: 58.28 kB / 0.6106 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3786, allocations: 345.6 kB / 0.6109 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3786, allocations: 30.7 kB / 0.6109 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.3787, allocations: 193.4 kB / 0.6111 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3788, allocations: 46.44 kB / 0.6111 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.3788, allocations: 37.03 kB / 0.6112 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.3789, allocations: 340.1 kB / 0.6115 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.379, allocations: 53.95 kB / 0.6116 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3791, allocations: 90.89 kB / 0.6116 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.3793, allocations: 119.5 kB / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3793, allocations: 0 / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002864/0.3796, allocations: 174.5 kB / 0.6119 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.3796, allocations: 6.844 kB / 0.6119 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3797, allocations: 9.375 kB / 0.6119 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3797, allocations: 3.141 kB / 0.6119 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3798, allocations: 31.78 kB / 0.612 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.3798, allocations: 0 / 0.612 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.38, allocations: 27.28 kB / 0.612 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.38, allocations: 10.78 kB / 0.612 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001603/0.3802, allocations: 155.9 kB / 0.6122 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001152/0.3803, allocations: 90.34 kB / 0.6122 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001871/0.3805, allocations: 111.6 kB / 0.6123 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.3805, allocations: 4 kB / 0.6124 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002619/0.3808, allocations: 170.3 kB / 0.6125 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/0.3808, allocations: 5.781 kB / 0.6125 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.3808, allocations: 0 / 0.6125 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.3808, allocations: 3.938 kB / 0.6125 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.3809, allocations: 28.75 kB / 0.6126 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.3809, allocations: 0 / 0.6126 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.3811, allocations: 27.62 kB / 0.6126 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3811, allocations: 5.656 kB / 0.6126 GB, free: 33.17 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.93e-05/0.3812, allocations: 187.5 kB / 0.6128 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.3812, allocations: 38.91 kB / 0.6128 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.3816, allocations: 235.6 kB / 0.613 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3816, allocations: 0 / 0.613 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3816, allocations: 0 / 0.613 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3816, allocations: 3.422 kB / 0.613 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.3822, allocations: 0.6302 MB / 0.6136 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3823, allocations: 4.094 kB / 0.6136 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3824, allocations: 26.98 kB / 0.6137 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3824, allocations: 0 / 0.6137 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3824, allocations: 2.938 kB / 0.6137 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3824, allocations: 2.906 kB / 0.6137 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3824, allocations: 3.281 kB / 0.6137 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.3827, allocations: 320 kB / 0.614 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.3828, allocations: 126.6 kB / 0.6141 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.3829, allocations: 7.25 kB / 0.6141 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3831, allocations: 23.56 kB / 0.6141 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.3831, allocations: 17.89 kB / 0.6142 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3831, allocations: 5.781 kB / 0.6142 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001665/0.3833, allocations: 247.3 kB / 0.6144 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3833, allocations: 0 / 0.6144 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004563/0.3838, allocations: 191.3 kB / 0.6146 GB, free: 32.16 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.0007668/0.3845, allocations: 1.002 MB / 0.6156 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.3849, allocations: 190.5 kB / 0.6157 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3849, allocations: 3.312 kB / 0.6157 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3851, allocations: 71.7 kB / 0.6158 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.3858, allocations: 145.7 kB / 0.6159 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.3882, allocations: 2.836 MB / 0.6187 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.3884, allocations: 0.7936 MB / 0.6195 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002025/0.3886, allocations: 67.64 kB / 0.6196 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3887, allocations: 116.4 kB / 0.6197 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.3887, allocations: 3.938 kB / 0.6197 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5247/0.9135, allocations: 9.598 MB / 0.629 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.9136, allocations: 242.4 kB / 0.6293 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.908, allocations: 3.938 kB / 0.6293 GB, free: 28.06 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)