Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_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.001146/0.001152, allocations: 103.4 kB / 16.4 MB, free: 6.5 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.00116/0.00116, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.39 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1509, allocations: 76.18 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01615/0.1671, allocations: 15.03 MB / 0.6462 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.1724, allocations: 3.891 MB / 0.65 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.173, allocations: 19.88 kB / 0.6501 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.1736, allocations: 190.7 kB / 0.6502 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.1754, allocations: 0.6803 MB / 0.6509 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1768, allocations: 476.3 kB / 0.6514 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1785, allocations: 1.09 MB / 0.6524 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.1789, allocations: 281.6 kB / 0.6527 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.1797, allocations: 418.4 kB / 0.6531 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.1801, allocations: 262.8 kB / 0.6533 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.1802, allocations: 20 kB / 0.6534 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.1817, allocations: 0.7135 MB / 0.6541 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1819, allocations: 79.61 kB / 0.6541 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1822, allocations: 187 kB / 0.6543 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.1836, allocations: 0.7214 MB / 0.655 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1836, allocations: 0 / 0.655 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1836, allocations: 4 kB / 0.655 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.1836, allocations: 0 / 0.655 GB, free: 12.77 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.001207/0.1848, allocations: 0.7435 MB / 0.6558 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.1849, allocations: 12.03 kB / 0.6558 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.1849, allocations: 50.73 kB / 0.6558 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.1851, allocations: 44.47 kB / 0.6559 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1861, allocations: 0.5094 MB / 0.6564 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1861, allocations: 8.328 kB / 0.6564 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.1862, allocations: 27.98 kB / 0.6564 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1866, allocations: 180.1 kB / 0.6566 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1866, allocations: 0 / 0.6566 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1866, allocations: 8 kB / 0.6566 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1866, allocations: 4 kB / 0.6566 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.1869, allocations: 140.2 kB / 0.6567 GB, free: 10.95 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.001115/0.1881, allocations: 0.8566 MB / 0.6575 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1883, allocations: 122.6 kB / 0.6577 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1885, allocations: 72.81 kB / 0.6577 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.1888, allocations: 340.4 kB / 0.658 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1888, allocations: 34.5 kB / 0.6581 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1888, allocations: 0 / 0.6581 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000543/0.1894, allocations: 221 kB / 0.6583 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1894, allocations: 59.39 kB / 0.6583 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.1898, allocations: 345.7 kB / 0.6587 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1898, allocations: 29.7 kB / 0.6587 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.19, allocations: 192.3 kB / 0.6589 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.19, allocations: 35.45 kB / 0.6589 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.1901, allocations: 41.61 kB / 0.659 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1902, allocations: 338.8 kB / 0.6593 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1903, allocations: 52.81 kB / 0.6593 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1905, allocations: 92.19 kB / 0.6594 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1908, allocations: 121.5 kB / 0.6595 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1908, allocations: 4 kB / 0.6595 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003718/0.1912, allocations: 177.2 kB / 0.6597 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1912, allocations: 7.938 kB / 0.6597 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1912, allocations: 0 / 0.6597 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1912, allocations: 0 / 0.6597 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1914, allocations: 23.98 kB / 0.6597 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1914, allocations: 3.938 kB / 0.6597 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1916, allocations: 35.8 kB / 0.6598 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1916, allocations: 4 kB / 0.6598 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002115/0.1918, allocations: 156.1 kB / 0.6599 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000142/0.192, allocations: 88.25 kB / 0.66 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002323/0.1922, allocations: 117.6 kB / 0.6601 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.1922, allocations: 0 / 0.6601 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003389/0.1926, allocations: 181.2 kB / 0.6603 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.1926, allocations: 4 kB / 0.6603 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.1926, allocations: 3.938 kB / 0.6603 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.1926, allocations: 4 kB / 0.6603 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1927, allocations: 19.98 kB / 0.6603 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.1927, allocations: 4 kB / 0.6603 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.1929, allocations: 15.98 kB / 0.6604 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1929, allocations: 11.98 kB / 0.6604 GB, free: 6.875 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 0.0001094/0.193, allocations: 188.2 kB / 0.6605 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.1931, allocations: 39.47 kB / 0.6606 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.1936, allocations: 221.5 kB / 0.6608 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1936, allocations: 4 kB / 0.6608 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1936, allocations: 0 / 0.6608 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1936, allocations: 0 / 0.6608 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.1945, allocations: 0.6413 MB / 0.6614 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1945, allocations: 4 kB / 0.6614 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1946, allocations: 19.98 kB / 0.6614 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1946, allocations: 4 kB / 0.6615 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1946, allocations: 3.984 kB / 0.6615 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1947, allocations: 8.094 kB / 0.6615 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1947, allocations: 3.938 kB / 0.6615 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1951, allocations: 322.3 kB / 0.6618 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1952, allocations: 124.7 kB / 0.6619 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1952, allocations: 8.094 kB / 0.6619 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1954, allocations: 15.92 kB / 0.6619 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.1955, allocations: 11.98 kB / 0.6619 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1955, allocations: 7.984 kB / 0.6619 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002409/0.1958, allocations: 251 kB / 0.6622 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1958, allocations: 0 / 0.6622 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005655/0.1963, allocations: 191.6 kB / 0.6624 GB, free: 4.723 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.00114/0.1975, allocations: 0.991 MB / 0.6633 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.198, allocations: 187.8 kB / 0.6635 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.198, allocations: 0 / 0.6635 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.1982, allocations: 79.89 kB / 0.6636 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.199, allocations: 150.7 kB / 0.6637 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.2023, allocations: 2.718 MB / 0.6664 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2027, allocations: 0.7957 MB / 0.6672 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.2029, allocations: 74.89 kB / 0.6672 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2031, allocations: 123.3 kB / 0.6673 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.2031, allocations: 0 / 0.6673 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.2328, allocations: 10.2 MB / 0.6773 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.177, allocations: 13.7 kB / 0.6773 GB, free: 5.465 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)