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.001088/0.001088, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001315/0.001315, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9136/0.9136, allocations: 135.3 MB / 426.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003054, allocations: 8.219 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1709, allocations: 82.31 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001606/0.1726, allocations: 1.29 MB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.1731, allocations: 292.1 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.1732, allocations: 0 / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.1732, allocations: 7.938 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.1733, allocations: 15.86 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1735, allocations: 61.28 kB / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1737, allocations: 83.72 kB / 0.5892 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1738, allocations: 31.95 kB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.1738, allocations: 31.88 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.1739, allocations: 35.83 kB / 0.5893 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1739, allocations: 0 / 0.5893 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.174, allocations: 31.97 kB / 0.5893 GB, free: 1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.174, allocations: 3.938 kB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.1741, allocations: 41.64 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1742, allocations: 72.08 kB / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1742, allocations: 0 / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1742, allocations: 0 / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1742, allocations: 0 / 0.5894 GB, free: 0.8789 MB / 494.1 MB 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.0005062/0.1747, allocations: 399 kB / 0.5898 GB, free: 452 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1748, allocations: 12.03 kB / 0.5898 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.1748, allocations: 34.56 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/0.1758, allocations: 135.7 kB / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1759, allocations: 178.9 kB / 0.5901 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.176, allocations: 8 kB / 0.5901 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.176, allocations: 8 kB / 0.5902 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.1765, allocations: 165.4 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1765, allocations: 7.875 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1765, allocations: 0 / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1766, allocations: 4 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.1772, allocations: 175.8 kB / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.1782, allocations: 464.3 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.1788, allocations: 150.5 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.1792, allocations: 92.84 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1792, allocations: 0 / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1792, allocations: 34.56 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1792, allocations: 4 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0011/0.1803, allocations: 273.4 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1804, allocations: 51.41 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1805, allocations: 161.4 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1806, allocations: 29.7 kB / 0.5917 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.1806, allocations: 100 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1806, allocations: 11.81 kB / 0.5918 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.1807, allocations: 4 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1808, allocations: 326.8 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.1812, allocations: 83.86 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.1815, allocations: 83.92 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.1818, allocations: 75.92 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1818, allocations: 0 / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000733/0.1826, allocations: 209.4 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.1826, allocations: 92.94 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1827, allocations: 4 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1827, allocations: 0 / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1829, allocations: 43.95 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1829, allocations: 0 / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1832, allocations: 35.88 kB / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1832, allocations: 3.984 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.1832, allocations: 7.953 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001941/0.1834, allocations: 79.83 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.1834, allocations: 0 / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.1834, allocations: 0 / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.1835, allocations: 19.98 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-06/0.1835, allocations: 0 / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1836, allocations: 19.84 kB / 0.5928 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.1836, allocations: 0 / 0.5928 GB, free: 13.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.1837, allocations: 197.1 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1837, allocations: 11.86 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.1838, allocations: 12.31 kB / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1838, allocations: 3.938 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1838, allocations: 3.938 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1838, allocations: 4 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1849, allocations: 0.4922 MB / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1849, allocations: 0 / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.1851, allocations: 43.95 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1851, allocations: 0 / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1851, allocations: 4.297 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1851, allocations: 12 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1851, allocations: 320 / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.1859, allocations: 312.9 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.186, allocations: 93 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.186, allocations: 3.984 kB / 0.594 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1863, allocations: 35.97 kB / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1863, allocations: 0 / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1863, allocations: 7.984 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.322e-05/0.1864, allocations: 114.9 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1864, allocations: 0 / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003098/0.1867, allocations: 39.91 kB / 0.5942 GB, free: 11.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.1878, allocations: 0.8428 MB / 0.595 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008524/0.1887, allocations: 211.9 kB / 0.5952 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1887, allocations: 0 / 0.5952 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.189, allocations: 92.03 kB / 0.5953 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1893, allocations: 13.09 kB / 0.5953 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.1918, allocations: 0.9153 MB / 0.5962 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1921, allocations: 0.6926 MB / 0.5969 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.991e-05/0.1922, allocations: 15.98 kB / 0.5969 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.1923, allocations: 35.41 kB / 0.5969 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1923, allocations: 4 kB / 0.5969 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/0.2467, allocations: 2.377 MB / 0.5992 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.2469, allocations: 185.7 kB / 0.5994 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.007, allocations: 3.938 kB / 0.5994 GB, free: 6.258 MB / 0.4981 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/linux/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) Environment - environmentSimulation: