Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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: translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001197/0.001196, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 65.83 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, allocations: 80.22 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002689/0.1691, allocations: 1.604 MB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000678/0.1698, allocations: 315.9 kB / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.1698, allocations: 0 / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.1699, allocations: 7.875 kB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.17, allocations: 23.78 kB / 0.6622 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1703, allocations: 63.86 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1705, allocations: 107.6 kB / 0.6624 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1706, allocations: 31.97 kB / 0.6624 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.1707, allocations: 43.86 kB / 0.6625 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.1708, allocations: 43.83 kB / 0.6625 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1708, allocations: 8 kB / 0.6625 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.1709, allocations: 27.97 kB / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.171, allocations: 19.92 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.171, allocations: 47.73 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1712, allocations: 103.6 kB / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1712, allocations: 0 / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1712, allocations: 0 / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1712, allocations: 0 / 0.6627 GB, free: 7.793 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005616/0.1718, allocations: 407.1 kB / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1718, allocations: 12.03 kB / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.1728, allocations: 124.7 kB / 0.6632 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1729, allocations: 180.2 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.173, allocations: 8.375 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.173, allocations: 8.375 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.1735, allocations: 149.4 kB / 0.6636 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1735, allocations: 4 kB / 0.6636 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1736, allocations: 7.984 kB / 0.6636 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1736, allocations: 0 / 0.6636 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.1743, allocations: 147.8 kB / 0.6637 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000961/0.1752, allocations: 444.4 kB / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.1759, allocations: 142.5 kB / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.1763, allocations: 68.91 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1763, allocations: 8 kB / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1763, allocations: 30.56 kB / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.1764, allocations: 0 / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001152/0.1775, allocations: 249.2 kB / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1776, allocations: 51.41 kB / 0.6647 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1777, allocations: 150.2 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1777, allocations: 37.7 kB / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.1778, allocations: 104 kB / 0.6649 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1778, allocations: 23.58 kB / 0.665 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.1779, allocations: 33.69 kB / 0.665 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.178, allocations: 318.8 kB / 0.6653 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.1784, allocations: 68.8 kB / 0.6654 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.1787, allocations: 71.92 kB / 0.6654 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.1794, allocations: 136.7 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1794, allocations: 0 / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007562/0.1801, allocations: 189.4 kB / 0.6657 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1802, allocations: 11.94 kB / 0.6657 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1802, allocations: 0 / 0.6657 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1802, allocations: 0 / 0.6657 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.1805, allocations: 35.95 kB / 0.6658 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1805, allocations: 0 / 0.6658 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1807, allocations: 31.88 kB / 0.6658 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1807, allocations: 7.969 kB / 0.6658 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001328/0.1809, allocations: 113 kB / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001008/0.181, allocations: 52.27 kB / 0.666 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000172/0.1811, allocations: 92.12 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.1812, allocations: 0 / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002405/0.1814, allocations: 105.5 kB / 0.6662 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.1814, allocations: 6.031 kB / 0.6662 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.1814, allocations: 4.406 kB / 0.6662 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.1814, allocations: 7.938 kB / 0.6662 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.1815, allocations: 23.92 kB / 0.6662 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1815, allocations: 4.391 kB / 0.6662 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1816, allocations: 7.984 kB / 0.6662 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.1816, allocations: 0 / 0.6662 GB, free: 3.926 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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.0001016/0.1817, allocations: 188.2 kB / 0.6664 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1818, allocations: 11.84 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.1818, allocations: 16.31 kB / 0.6664 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1818, allocations: 3.984 kB / 0.6664 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1819, allocations: 0 / 0.6664 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1819, allocations: 0 / 0.6664 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1829, allocations: 487.8 kB / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1829, allocations: 0 / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1831, allocations: 39.88 kB / 0.6669 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1831, allocations: 0 / 0.6669 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1832, allocations: 4 kB / 0.6669 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1832, allocations: 4.062 kB / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1832, allocations: 0 / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/0.1839, allocations: 293 kB / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.184, allocations: 96.98 kB / 0.6673 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1841, allocations: 3.938 kB / 0.6673 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1843, allocations: 19.97 kB / 0.6673 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1843, allocations: 11.94 kB / 0.6673 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1844, allocations: 7.984 kB / 0.6674 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.1845, allocations: 122.7 kB / 0.6675 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1845, allocations: 0 / 0.6675 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003056/0.1848, allocations: 28 kB / 0.6675 GB, free: 2.504 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001189/0.1849, allocations: 99.25 kB / 0.6676 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008547/0.1858, allocations: 195.7 kB / 0.6678 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1858, allocations: 0 / 0.6678 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1861, allocations: 72.3 kB / 0.6678 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1865, allocations: 12 kB / 0.6679 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1875, allocations: 322.7 kB / 0.6682 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1878, allocations: 0.6924 MB / 0.6688 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.1879, allocations: 19.41 kB / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1879, allocations: 0 / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.002916/0.1908, allocations: 1.384 MB / 0.6702 GB, free: 15.65 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)