Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 110.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 134 MB / 436.6 MB, free: 1.637 MB / 334.1 MB " [Timeout remaining time 179] 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.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 72.41 kB / 0.6051 GB, free: 15.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1696, allocations: 84.67 MB / 0.6878 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003788/0.1734, allocations: 2.032 MB / 0.6898 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00336/0.1767, allocations: 2.033 MB / 0.6918 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1769, allocations: 4 kB / 0.6918 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.1776, allocations: 267.2 kB / 0.692 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006838/0.1783, allocations: 283 kB / 0.6923 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.1792, allocations: 0.489 MB / 0.6928 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.1798, allocations: 462.7 kB / 0.6932 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.1799, allocations: 20.41 kB / 0.6932 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.1802, allocations: 175.5 kB / 0.6934 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1804, allocations: 187.3 kB / 0.6936 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1805, allocations: 12 kB / 0.6936 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.1812, allocations: 463.2 kB / 0.694 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1813, allocations: 103.7 kB / 0.6941 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1814, allocations: 115.3 kB / 0.6942 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008075/0.1822, allocations: 0.584 MB / 0.6948 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1822, allocations: 3.938 kB / 0.6948 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1822, allocations: 0 / 0.6948 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1823, allocations: 0 / 0.6948 GB, free: 3.969 MB / 0.5137 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.0009039/0.1832, allocations: 0.6145 MB / 0.6954 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1832, allocations: 8.031 kB / 0.6954 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.1832, allocations: 38.75 kB / 0.6955 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.1835, allocations: 52.7 kB / 0.6955 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.1841, allocations: 340.5 kB / 0.6958 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1841, allocations: 11.94 kB / 0.6959 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1841, allocations: 12 kB / 0.6959 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.1845, allocations: 145.6 kB / 0.696 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1845, allocations: 0 / 0.696 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1845, allocations: 4 kB / 0.696 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1845, allocations: 4 kB / 0.696 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.1849, allocations: 131.9 kB / 0.6961 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.1856, allocations: 0.4885 MB / 0.6966 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.186, allocations: 126.5 kB / 0.6967 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1861, allocations: 64.81 kB / 0.6968 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1862, allocations: 3.984 kB / 0.6968 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1862, allocations: 34.69 kB / 0.6968 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.113e-06/0.1862, allocations: 0 / 0.6968 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006713/0.1869, allocations: 245.2 kB / 0.6971 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1869, allocations: 59.41 kB / 0.6971 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.1873, allocations: 332.5 kB / 0.6974 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1874, allocations: 29.7 kB / 0.6975 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1875, allocations: 152.1 kB / 0.6976 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1876, allocations: 27.75 kB / 0.6976 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-05/0.1877, allocations: 49.69 kB / 0.6977 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1878, allocations: 338.8 kB / 0.698 GB, free: 484 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1881, allocations: 112.8 kB / 0.6981 GB, free: 368 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.1884, allocations: 170.7 kB / 0.6983 GB, free: 172 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.1889, allocations: 270.6 kB / 0.6985 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1889, allocations: 3.938 kB / 0.6985 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006753/0.1896, allocations: 341.1 kB / 0.6989 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1896, allocations: 9.406 kB / 0.6989 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1896, allocations: 3.938 kB / 0.6989 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1896, allocations: 4 kB / 0.6989 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.1899, allocations: 48.19 kB / 0.6989 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1899, allocations: 7.938 kB / 0.6989 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.19, allocations: 27.77 kB / 0.699 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.1901, allocations: 19.98 kB / 0.699 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003207/0.1904, allocations: 208 kB / 0.6992 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002876/0.1907, allocations: 145.2 kB / 0.6993 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005235/0.1912, allocations: 234.6 kB / 0.6995 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.1912, allocations: 0 / 0.6995 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006475/0.1919, allocations: 293.2 kB / 0.6998 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1919, allocations: 4 kB / 0.6998 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1919, allocations: 4 kB / 0.6998 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1919, allocations: 7.938 kB / 0.6998 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.1921, allocations: 44.19 kB / 0.6999 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.1921, allocations: 4 kB / 0.6999 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.1922, allocations: 15.94 kB / 0.6999 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1922, allocations: 23.92 kB / 0.6999 GB, free: 14.4 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1924, allocations: 189.7 kB / 0.7001 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.1924, allocations: 28.19 kB / 0.7001 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.1929, allocations: 208.1 kB / 0.7003 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1929, allocations: 0 / 0.7003 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.193, allocations: 0 / 0.7003 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.193, allocations: 0 / 0.7003 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.1933, allocations: 273.5 kB / 0.7006 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1933, allocations: 0 / 0.7006 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1934, allocations: 35.92 kB / 0.7006 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1934, allocations: 0 / 0.7006 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1934, allocations: 3.938 kB / 0.7006 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1934, allocations: 0 / 0.7006 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1934, allocations: 3.984 kB / 0.7006 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.1939, allocations: 279.2 kB / 0.7009 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.194, allocations: 120.8 kB / 0.701 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1941, allocations: 7.938 kB / 0.701 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1942, allocations: 7.984 kB / 0.701 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1942, allocations: 7.984 kB / 0.701 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1943, allocations: 4 kB / 0.701 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002502/0.1945, allocations: 239 kB / 0.7013 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1945, allocations: 0 / 0.7013 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005569/0.1951, allocations: 147.8 kB / 0.7014 GB, free: 12.79 MB / 0.5294 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 (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.00113/0.1962, allocations: 0.9191 MB / 0.7023 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007688/0.197, allocations: 324.4 kB / 0.7026 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.197, allocations: 0 / 0.7026 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1971, allocations: 67.89 kB / 0.7027 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.1976, allocations: 105.4 kB / 0.7028 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.202, allocations: 3.02 MB / 0.7057 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2024, allocations: 0.7678 MB / 0.7065 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.2026, allocations: 78.91 kB / 0.7066 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2028, allocations: 87.41 kB / 0.7066 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2028, allocations: 0 / 0.7066 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.2388, allocations: 9.336 MB / 0.7158 GB, free: 14.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.516, allocations: 8.141 kB / 0.7158 GB, free: 14.13 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.984787803143263] Failed to read output from testmodel.py, exit status != 0: 8.590380900073797 8.612208983 8.425821048 Calling exit ...