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: "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.005541/0.005541, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001225/0.001225, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7319/0.7319, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 66.98 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 80.21 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002524/0.1713, allocations: 1.604 MB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006078/0.172, allocations: 315.9 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.172, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.1721, allocations: 7.875 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.1721, allocations: 23.78 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1725, allocations: 67.86 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1726, allocations: 103.6 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1727, allocations: 31.97 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.1728, allocations: 35.86 kB / 0.6613 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.1729, allocations: 47.84 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1729, allocations: 4 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.173, allocations: 31.97 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.173, allocations: 23.91 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1731, allocations: 47.73 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1732, allocations: 102.4 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1732, allocations: 0 / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1732, allocations: 0 / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.1733, allocations: 0 / 0.6616 GB, free: 11.5 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.0005311/0.1738, allocations: 408 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1738, allocations: 12.03 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1739, allocations: 42.73 kB / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009011/0.1748, allocations: 120.6 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1749, allocations: 184.2 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1749, allocations: 4.375 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.175, allocations: 12.12 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.1754, allocations: 153.5 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1755, allocations: 0 / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1755, allocations: 0 / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1755, allocations: 7.938 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.1762, allocations: 157.9 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.1771, allocations: 444.4 kB / 0.663 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.1777, allocations: 134.5 kB / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.178, allocations: 76.91 kB / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1781, allocations: 0 / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1781, allocations: 38.5 kB / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1781, allocations: 0 / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001094/0.1792, allocations: 249.3 kB / 0.6635 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1793, allocations: 55.34 kB / 0.6636 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1794, allocations: 161.5 kB / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1794, allocations: 25.7 kB / 0.6637 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.1795, allocations: 96.05 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1795, allocations: 27.64 kB / 0.6639 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.1796, allocations: 21.7 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1797, allocations: 326.8 kB / 0.6642 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.18, allocations: 72.78 kB / 0.6643 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.1804, allocations: 75.91 kB / 0.6643 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.181, allocations: 140.8 kB / 0.6645 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.181, allocations: 0 / 0.6645 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007029/0.1817, allocations: 185.4 kB / 0.6646 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1817, allocations: 11.94 kB / 0.6647 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1817, allocations: 0 / 0.6647 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1818, allocations: 0 / 0.6647 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.182, allocations: 39.94 kB / 0.6647 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.182, allocations: 0 / 0.6647 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1822, allocations: 27.88 kB / 0.6647 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.1822, allocations: 8 kB / 0.6647 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001336/0.1824, allocations: 108.1 kB / 0.6648 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.713e-05/0.1825, allocations: 56.22 kB / 0.6649 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001625/0.1827, allocations: 84.19 kB / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.1827, allocations: 0 / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002248/0.1829, allocations: 105.5 kB / 0.6651 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.1829, allocations: 8 kB / 0.6651 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1829, allocations: 3.938 kB / 0.6651 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.1829, allocations: 0 / 0.6651 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.183, allocations: 23.92 kB / 0.6651 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.183, allocations: 256 / 0.6651 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.1831, allocations: 15.92 kB / 0.6651 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1831, allocations: 12.16 kB / 0.6651 GB, free: 7.574 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 8.984e-05/0.1832, allocations: 176.3 kB / 0.6653 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1832, allocations: 15.84 kB / 0.6653 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.1833, allocations: 16.23 kB / 0.6653 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1833, allocations: 4 kB / 0.6653 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1833, allocations: 0 / 0.6653 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1833, allocations: 3.938 kB / 0.6653 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/0.1843, allocations: 483.9 kB / 0.6658 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1843, allocations: 7.938 kB / 0.6658 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.1846, allocations: 32.02 kB / 0.6658 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1846, allocations: 4 kB / 0.6658 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1846, allocations: 3.984 kB / 0.6658 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1846, allocations: 0 / 0.6658 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1846, allocations: 4 kB / 0.6658 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.1853, allocations: 281 kB / 0.6661 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.1854, allocations: 105 kB / 0.6662 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1854, allocations: 7.984 kB / 0.6662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.1857, allocations: 23.97 kB / 0.6662 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1857, allocations: 7.984 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1857, allocations: 0 / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.213e-05/0.1858, allocations: 123.2 kB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1858, allocations: 0 / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003043/0.1861, allocations: 28 kB / 0.6664 GB, free: 6.16 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.0009977/0.1871, allocations: 0.8154 MB / 0.6672 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007907/0.1879, allocations: 191.7 kB / 0.6674 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1879, allocations: 0 / 0.6674 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.1883, allocations: 76.3 kB / 0.6675 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1886, allocations: 12 kB / 0.6675 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.1921, allocations: 1.892 MB / 0.6693 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1923, allocations: 0.6963 MB / 0.67 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.1924, allocations: 12 kB / 0.67 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.1925, allocations: 31.41 kB / 0.67 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1925, allocations: 0 / 0.67 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.211, allocations: 2.752 MB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.578, allocations: 14.28 kB / 0.6727 GB, free: 15.65 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)