Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.0008707/0.0008708, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008844/0.0008846, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9284/0.9284, allocations: 135.3 MB / 426.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.000345, allocations: 12 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002391/0.1714, allocations: 1.687 MB / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.1744, allocations: 1.856 MB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.1747, allocations: 0 / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.1753, allocations: 155.2 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.1761, allocations: 249 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/0.177, allocations: 383.2 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.1778, allocations: 498.6 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1779, allocations: 48.34 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.1782, allocations: 151.5 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.1786, allocations: 163.4 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.1786, allocations: 8 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.1792, allocations: 319.5 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1794, allocations: 87.73 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.1794, allocations: 65.58 kB / 0.593 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.18, allocations: 411.3 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.18, allocations: 0 / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.18, allocations: 4 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.18, allocations: 0 / 0.5934 GB, free: 12.81 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008947/0.1809, allocations: 0.5565 MB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.181, allocations: 8.031 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.181, allocations: 38.56 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.1813, allocations: 55.61 kB / 0.594 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.1818, allocations: 315 kB / 0.5943 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1818, allocations: 8 kB / 0.5943 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1819, allocations: 12 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1822, allocations: 153.6 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.1822, allocations: 4 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1823, allocations: 4 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1823, allocations: 3.938 kB / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.1826, allocations: 139.9 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.1833, allocations: 492.4 kB / 0.5951 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.1836, allocations: 146.4 kB / 0.5952 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1838, allocations: 68.81 kB / 0.5953 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1838, allocations: 7.938 kB / 0.5953 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1839, allocations: 34.56 kB / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1839, allocations: 4 kB / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.00061/0.1845, allocations: 245.7 kB / 0.5956 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1845, allocations: 55.41 kB / 0.5956 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1848, allocations: 332.5 kB / 0.5959 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1849, allocations: 33.62 kB / 0.596 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.185, allocations: 152 kB / 0.5961 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.185, allocations: 23.66 kB / 0.5961 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.1851, allocations: 7.938 kB / 0.5961 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1852, allocations: 338.8 kB / 0.5965 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1854, allocations: 83.94 kB / 0.5965 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1856, allocations: 134.8 kB / 0.5967 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.1858, allocations: 103.8 kB / 0.5968 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1858, allocations: 0 / 0.5968 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005295/0.1864, allocations: 281.2 kB / 0.597 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/0.1865, allocations: 139 kB / 0.5972 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.1865, allocations: 0 / 0.5972 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1865, allocations: 4 kB / 0.5972 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.1867, allocations: 51.91 kB / 0.5972 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1867, allocations: 4 kB / 0.5972 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.1869, allocations: 31.77 kB / 0.5973 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.1869, allocations: 16 kB / 0.5973 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.187, allocations: 6.031 kB / 0.5973 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005118/0.1875, allocations: 251.7 kB / 0.5975 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1875, allocations: 0 / 0.5975 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.1875, allocations: 4 kB / 0.5975 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1877, allocations: 47.91 kB / 0.5976 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1877, allocations: 4 kB / 0.5976 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1879, allocations: 31.91 kB / 0.5976 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1879, allocations: 12 kB / 0.5976 GB, free: 8.18 MB / 0.4981 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001654/0.1881, allocations: 236.9 kB / 0.5978 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1881, allocations: 27.67 kB / 0.5979 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.1886, allocations: 212.3 kB / 0.5981 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1886, allocations: 3.938 kB / 0.5981 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1886, allocations: 0 / 0.5981 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1886, allocations: 0 / 0.5981 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1889, allocations: 273.5 kB / 0.5983 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.189, allocations: 96 / 0.5983 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1891, allocations: 35.91 kB / 0.5984 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1891, allocations: 0 / 0.5984 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1891, allocations: 7.953 kB / 0.5984 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1891, allocations: 0 / 0.5984 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1891, allocations: 0 / 0.5984 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1896, allocations: 283.1 kB / 0.5986 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1897, allocations: 120.6 kB / 0.5988 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.1897, allocations: 4 kB / 0.5988 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1899, allocations: 27.94 kB / 0.5988 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.19, allocations: 7.984 kB / 0.5988 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.19, allocations: 0 / 0.5988 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000244/0.1902, allocations: 243 kB / 0.599 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1902, allocations: 0 / 0.599 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005611/0.1908, allocations: 140 kB / 0.5992 GB, free: 6.48 MB / 0.4981 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 (10): * Single equations (assignments): 10 * 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.00114/0.1919, allocations: 0.9229 MB / 0.6001 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007222/0.1927, allocations: 312.2 kB / 0.6004 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1927, allocations: 0 / 0.6004 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1929, allocations: 84.2 kB / 0.6004 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.1934, allocations: 91.92 kB / 0.6005 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.1965, allocations: 1.719 MB / 0.6022 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1969, allocations: 0.7758 MB / 0.603 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002941/0.1972, allocations: 79.05 kB / 0.603 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.1973, allocations: 91.39 kB / 0.6031 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1974, allocations: 0 / 0.6031 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3/0.4974, allocations: 8.946 MB / 0.6119 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.4975, allocations: 192.8 kB / 0.6121 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.496, allocations: 0 / 0.6121 GB, free: 46.66 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) Environment - environmentSimulation: