Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_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.005532/0.005532, allocations: 103 kB / 15.74 MB, free: 6.059 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.001393/0.001393, allocations: 189.2 kB / 16.67 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7889/0.7889, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 70.45 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1436, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01596/0.1596, allocations: 15.04 MB / 0.6739 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005333/0.165, allocations: 3.879 MB / 0.6777 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.1654, allocations: 19.88 kB / 0.6777 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.1659, allocations: 190.7 kB / 0.6779 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.1674, allocations: 0.6842 MB / 0.6785 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1685, allocations: 481.5 kB / 0.679 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1699, allocations: 1.079 MB / 0.68 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.1703, allocations: 285.5 kB / 0.6803 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.1708, allocations: 398.5 kB / 0.6807 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.1712, allocations: 270.8 kB / 0.681 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.1712, allocations: 24 kB / 0.681 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1724, allocations: 0.7095 MB / 0.6817 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1725, allocations: 79.67 kB / 0.6817 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1727, allocations: 187 kB / 0.6819 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009697/0.1736, allocations: 0.7278 MB / 0.6826 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1737, allocations: 0 / 0.6826 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.206e-06/0.1737, allocations: 0 / 0.6826 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1737, allocations: 3.938 kB / 0.6826 GB, free: 2.648 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.001112/0.1748, allocations: 0.766 MB / 0.6834 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1748, allocations: 12.03 kB / 0.6834 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.1749, allocations: 46.73 kB / 0.6834 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.175, allocations: 48.66 kB / 0.6835 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.1759, allocations: 0.5207 MB / 0.684 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.176, allocations: 16.33 kB / 0.684 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.176, allocations: 20 kB / 0.684 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1764, allocations: 176.1 kB / 0.6842 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1764, allocations: 0 / 0.6842 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1764, allocations: 8 kB / 0.6842 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1764, allocations: 4 kB / 0.6842 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.1768, allocations: 144.1 kB / 0.6844 GB, free: 0.7891 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.001109/0.1779, allocations: 0.8607 MB / 0.6852 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1781, allocations: 130.6 kB / 0.6853 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.1783, allocations: 68.81 kB / 0.6854 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.1786, allocations: 336.4 kB / 0.6857 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1787, allocations: 34.5 kB / 0.6857 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1787, allocations: 0 / 0.6857 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005597/0.1792, allocations: 223.7 kB / 0.6859 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1793, allocations: 51.41 kB / 0.686 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.1797, allocations: 349.7 kB / 0.6863 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1797, allocations: 25.7 kB / 0.6864 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1798, allocations: 196.4 kB / 0.6865 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1799, allocations: 39.62 kB / 0.6866 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.18, allocations: 41.67 kB / 0.6866 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1801, allocations: 342.8 kB / 0.6869 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1803, allocations: 52.83 kB / 0.687 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1804, allocations: 88.17 kB / 0.6871 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1807, allocations: 117.6 kB / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1807, allocations: 0 / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003667/0.1811, allocations: 177.3 kB / 0.6874 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1811, allocations: 8 kB / 0.6874 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1811, allocations: 3.938 kB / 0.6874 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1812, allocations: 3.984 kB / 0.6874 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1813, allocations: 23.98 kB / 0.6874 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1813, allocations: 4 kB / 0.6874 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1815, allocations: 23.94 kB / 0.6874 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1815, allocations: 4 kB / 0.6874 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002188/0.1817, allocations: 156.1 kB / 0.6876 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001618/0.1819, allocations: 96.19 kB / 0.6877 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002507/0.1822, allocations: 113.6 kB / 0.6878 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.1822, allocations: 0 / 0.6878 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003552/0.1825, allocations: 177.3 kB / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.1826, allocations: 4 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.1826, allocations: 0 / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-06/0.1826, allocations: 4 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1827, allocations: 28.05 kB / 0.688 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1827, allocations: 11.98 kB / 0.688 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1829, allocations: 23.88 kB / 0.688 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1829, allocations: 4 kB / 0.688 GB, free: 12.72 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.0001146/0.183, allocations: 188.2 kB / 0.6882 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.1831, allocations: 35.77 kB / 0.6882 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.1836, allocations: 231.3 kB / 0.6885 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1836, allocations: 4 kB / 0.6885 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1836, allocations: 0 / 0.6885 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.1836, allocations: 3.984 kB / 0.6885 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008655/0.1845, allocations: 0.6297 MB / 0.6891 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1845, allocations: 4 kB / 0.6891 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1846, allocations: 23.92 kB / 0.6891 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1846, allocations: 4 kB / 0.6891 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1846, allocations: 4 kB / 0.6891 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1846, allocations: 4 kB / 0.6891 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1846, allocations: 0 / 0.6891 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.1851, allocations: 333.6 kB / 0.6894 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1852, allocations: 120.8 kB / 0.6895 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.1853, allocations: 8 kB / 0.6896 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.1855, allocations: 8.078 kB / 0.6896 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.1855, allocations: 27.86 kB / 0.6896 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1855, allocations: 4 kB / 0.6896 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002512/0.1858, allocations: 247.2 kB / 0.6898 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1858, allocations: 0 / 0.6898 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005349/0.1863, allocations: 195.4 kB / 0.69 GB, free: 10.55 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.00116/0.1875, allocations: 0.9945 MB / 0.691 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.188, allocations: 191.8 kB / 0.6912 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.188, allocations: 0 / 0.6912 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.1882, allocations: 75.89 kB / 0.6912 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.189, allocations: 157.1 kB / 0.6914 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.1923, allocations: 2.73 MB / 0.6941 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1927, allocations: 0.7918 MB / 0.6948 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.1929, allocations: 83.02 kB / 0.6949 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1931, allocations: 111.4 kB / 0.695 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1931, allocations: 0 / 0.695 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/0.4037, allocations: 10.05 MB / 0.7048 GB, free: 11.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.042/9.446, allocations: 8.734 kB / 0.7048 GB, free: 11.45 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)