Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_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.005605/0.005605, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001238/0.001238, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7855/0.7855, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.45 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1573, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002927/0.1603, allocations: 1.608 MB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000726/0.1611, allocations: 313.9 kB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.1612, allocations: 0 / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.1612, allocations: 3.938 kB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1613, allocations: 23.78 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.1617, allocations: 67.8 kB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1619, allocations: 107.7 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.162, allocations: 27.98 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.1621, allocations: 39.8 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.1622, allocations: 47.83 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1622, allocations: 4 kB / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.1623, allocations: 31.97 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.1624, allocations: 23.92 kB / 0.6664 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1624, allocations: 47.73 kB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1626, allocations: 102.5 kB / 0.6665 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1626, allocations: 0 / 0.6665 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1626, allocations: 3.938 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.1626, allocations: 0 / 0.6665 GB, free: 3.855 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.0005902/0.1632, allocations: 404 kB / 0.6669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1633, allocations: 13.11 kB / 0.6669 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.1633, allocations: 38.73 kB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.1643, allocations: 124.6 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1645, allocations: 184.2 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1645, allocations: 8.375 kB / 0.6673 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1645, allocations: 12.12 kB / 0.6673 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.1651, allocations: 149.5 kB / 0.6674 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1651, allocations: 0 / 0.6674 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1651, allocations: 4 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.1651, allocations: 4 kB / 0.6674 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.1659, allocations: 151.8 kB / 0.6676 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1669, allocations: 440.4 kB / 0.668 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.1676, allocations: 142.4 kB / 0.6681 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.168, allocations: 76.91 kB / 0.6682 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1681, allocations: 0 / 0.6682 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1681, allocations: 42.5 kB / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1681, allocations: 0 / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001213/0.1693, allocations: 237.4 kB / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1694, allocations: 55.34 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1695, allocations: 169.8 kB / 0.6687 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1696, allocations: 25.7 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.1696, allocations: 100 kB / 0.6688 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1697, allocations: 23.64 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.1697, allocations: 21.7 kB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1699, allocations: 322.8 kB / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.1702, allocations: 76.78 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1706, allocations: 71.92 kB / 0.6693 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.1713, allocations: 128.7 kB / 0.6694 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1713, allocations: 4 kB / 0.6694 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008051/0.1721, allocations: 197.3 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1722, allocations: 7.938 kB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1722, allocations: 0 / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1722, allocations: 0 / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.1725, allocations: 43.94 kB / 0.6697 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1725, allocations: 0 / 0.6697 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1727, allocations: 23.97 kB / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1727, allocations: 4.234 kB / 0.6697 GB, free: 396 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001346/0.1729, allocations: 116.1 kB / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001068/0.173, allocations: 52.27 kB / 0.6698 GB, free: 208 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001815/0.1732, allocations: 88.12 kB / 0.6699 GB, free: 104 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1732, allocations: 0 / 0.6699 GB, free: 104 kB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002724/0.1734, allocations: 109.4 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1735, allocations: 12.16 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1735, allocations: 3.938 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.1735, allocations: 0 / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.1736, allocations: 19.98 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1736, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.1737, allocations: 19.86 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1737, allocations: 4.25 kB / 0.6701 GB, free: 15.93 MB / 0.5137 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 9.239e-05/0.1738, allocations: 176.3 kB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1738, allocations: 19.84 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.1739, allocations: 12.3 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1739, allocations: 4 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1739, allocations: 4 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1739, allocations: 0 / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.175, allocations: 483.9 kB / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.175, allocations: 4 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.1752, allocations: 27.95 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1752, allocations: 4 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1752, allocations: 4.062 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1752, allocations: 3.984 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1753, allocations: 7.938 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.1761, allocations: 284.9 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.1762, allocations: 101 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1763, allocations: 4 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1765, allocations: 19.97 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1766, allocations: 8 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1766, allocations: 3.984 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001017/0.1767, allocations: 123.2 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1767, allocations: 0 / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003228/0.177, allocations: 28 kB / 0.6714 GB, free: 14.52 MB / 0.5137 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.001158/0.1782, allocations: 0.8167 MB / 0.6721 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009067/0.1791, allocations: 191.7 kB / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1791, allocations: 0 / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.1795, allocations: 76.36 kB / 0.6724 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1799, allocations: 9.719 kB / 0.6724 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.1839, allocations: 1.898 MB / 0.6743 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1843, allocations: 0.704 MB / 0.675 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.866e-05/0.1844, allocations: 12 kB / 0.675 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1845, allocations: 35.41 kB / 0.675 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1845, allocations: 0 / 0.675 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.2048, allocations: 2.801 MB / 0.6777 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.888, allocations: 21.66 kB / 0.6778 GB, free: 7.91 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)