Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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: translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 117.5 kB / 17.08 MB, free: 6.012 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.001357/0.001357, allocations: 191 kB / 18.02 MB, free: 5.09 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.422/1.422, allocations: 222.9 MB / 241.7 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.8298/0.8298, allocations: 126.4 MB / 418.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.89 kB / 0.5742 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.14, allocations: 78.78 MB / 0.6511 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003901/0.1439, allocations: 2.291 MB / 0.6533 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006559/0.1505, allocations: 3.798 MB / 0.6571 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.1508, allocations: 11.94 kB / 0.6571 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.1536, allocations: 1.044 MB / 0.6581 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.1546, allocations: 431.8 kB / 0.6585 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1557, allocations: 0.5029 MB / 0.659 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004627/0.1603, allocations: 3.171 MB / 0.6621 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1605, allocations: 48.72 kB / 0.6621 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1608, allocations: 227.3 kB / 0.6624 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.1611, allocations: 219.1 kB / 0.6626 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1612, allocations: 20 kB / 0.6626 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.1624, allocations: 0.7486 MB / 0.6633 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.1627, allocations: 211.5 kB / 0.6635 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1629, allocations: 250.4 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.1642, allocations: 1.031 MB / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1643, allocations: 0 / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1643, allocations: 4 kB / 0.6648 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1643, allocations: 0 / 0.6648 GB, free: 5.562 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001427/0.1657, allocations: 0.9169 MB / 0.6657 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1657, allocations: 8.031 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.167, allocations: 211.9 kB / 0.6659 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.169, allocations: 0.9718 MB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1691, allocations: 12 kB / 0.6668 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.1691, allocations: 12 kB / 0.6668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.1697, allocations: 245.4 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1698, allocations: 7.938 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1698, allocations: 12 kB / 0.6671 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1698, allocations: 0 / 0.6671 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/0.1705, allocations: 243.8 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1719, allocations: 0.828 MB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.1726, allocations: 290.5 kB / 0.6684 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.173, allocations: 124.8 kB / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.173, allocations: 0 / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1731, allocations: 38.55 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1731, allocations: 3.938 kB / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.00123/0.1743, allocations: 441.1 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1744, allocations: 59.34 kB / 0.669 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.1753, allocations: 0.7382 MB / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.1753, allocations: 33.7 kB / 0.6698 GB, free: 204 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.1755, allocations: 225 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.1756, allocations: 55.61 kB / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.1758, allocations: 154 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.176, allocations: 374.5 kB / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.1767, allocations: 442.9 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008474/0.1776, allocations: 0.5243 MB / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.1791, allocations: 0.8663 MB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1791, allocations: 3.984 kB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001924/0.1811, allocations: 1.073 MB / 0.6734 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1811, allocations: 8.219 kB / 0.6734 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.1811, allocations: 4 kB / 0.6734 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.1812, allocations: 4 kB / 0.6734 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.1817, allocations: 111.9 kB / 0.6735 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1817, allocations: 4 kB / 0.6735 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.1822, allocations: 67.59 kB / 0.6736 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.1823, allocations: 31.98 kB / 0.6736 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000928/0.1832, allocations: 0.5515 MB / 0.6742 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007259/0.184, allocations: 464.5 kB / 0.6746 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001234/0.1852, allocations: 0.7314 MB / 0.6753 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.1852, allocations: 0 / 0.6753 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001577/0.1868, allocations: 0.9185 MB / 0.6762 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1868, allocations: 6.031 kB / 0.6762 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1868, allocations: 4.219 kB / 0.6762 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.1869, allocations: 8 kB / 0.6762 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.1873, allocations: 107.8 kB / 0.6763 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1873, allocations: 4 kB / 0.6763 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.1877, allocations: 67.64 kB / 0.6764 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.1878, allocations: 27.98 kB / 0.6764 GB, free: 9.258 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001697/0.188, allocations: 204.1 kB / 0.6766 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.1881, allocations: 51.62 kB / 0.6767 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009616/0.189, allocations: 354.6 kB / 0.677 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.189, allocations: 0 / 0.677 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.189, allocations: 3.938 kB / 0.677 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1891, allocations: 0 / 0.677 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.1896, allocations: 417 kB / 0.6774 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1896, allocations: 4 kB / 0.6774 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.1898, allocations: 39.97 kB / 0.6775 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.1898, allocations: 7.922 kB / 0.6775 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1899, allocations: 8 kB / 0.6775 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1899, allocations: 0 / 0.6775 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1899, allocations: 3.938 kB / 0.6775 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/0.1907, allocations: 419 kB / 0.6779 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1909, allocations: 148.7 kB / 0.678 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.191, allocations: 0 / 0.678 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1913, allocations: 27.97 kB / 0.678 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1914, allocations: 15.92 kB / 0.6781 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1914, allocations: 8 kB / 0.6781 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006162/0.192, allocations: 0.499 MB / 0.6786 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.192, allocations: 0 / 0.6786 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008756/0.1929, allocations: 311.6 kB / 0.6789 GB, free: 6.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0007251/0.1936, allocations: 374.5 kB / 0.6792 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.1957, allocations: 1.137 MB / 0.6803 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1957, allocations: 0 / 0.6803 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.1961, allocations: 140.2 kB / 0.6805 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.1969, allocations: 209.1 kB / 0.6807 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1989, allocations: 0.9887 MB / 0.6816 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.1995, allocations: 0.8934 MB / 0.6825 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000564/0.2001, allocations: 196.1 kB / 0.6827 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.2003, allocations: 55.41 kB / 0.6827 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2003, allocations: 0 / 0.6827 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of Templates: time 0.02112/0.2214, allocations: 12.39 MB / 0.6948 GB, free: 6.379 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)