Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001222/0.001222, allocations: 108.9 kB / 16.45 MB, free: 6.504 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.001218/0.001218, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.326/1.326, 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.7998/0.7998, allocations: 134 MB / 436.6 MB, free: 1.25 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.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 68.17 kB / 0.6051 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1646, allocations: 84.68 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02/0.1846, allocations: 17.6 MB / 0.705 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007419/0.192, allocations: 4.937 MB / 0.7098 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.1926, allocations: 15.88 kB / 0.7098 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.1934, allocations: 258.4 kB / 0.7101 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.195, allocations: 0.6375 MB / 0.7107 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.197, allocations: 0.7294 MB / 0.7114 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1984, allocations: 0.9663 MB / 0.7124 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.1989, allocations: 289 kB / 0.7126 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007692/0.1997, allocations: 422.3 kB / 0.713 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.2001, allocations: 330.6 kB / 0.7134 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.2002, allocations: 28 kB / 0.7134 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.2016, allocations: 0.7408 MB / 0.7141 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2017, allocations: 131.5 kB / 0.7142 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.202, allocations: 250.5 kB / 0.7145 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2034, allocations: 0.899 MB / 0.7153 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2034, allocations: 0 / 0.7153 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2034, allocations: 3.938 kB / 0.7153 GB, free: 14.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.2034, allocations: 0 / 0.7153 GB, free: 14.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001391/0.2048, allocations: 0.8943 MB / 0.7162 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2049, allocations: 12.03 kB / 0.7162 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.2049, allocations: 62.67 kB / 0.7163 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2051, allocations: 68.55 kB / 0.7164 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.2059, allocations: 457.2 kB / 0.7168 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2059, allocations: 28.5 kB / 0.7168 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.2059, allocations: 28 kB / 0.7168 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.2065, allocations: 286.2 kB / 0.7171 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2065, allocations: 0 / 0.7171 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.2065, allocations: 8 kB / 0.7171 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2065, allocations: 11.98 kB / 0.7171 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.2069, allocations: 194.1 kB / 0.7173 GB, free: 12.62 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.209, allocations: 1.476 MB / 0.7188 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.2093, allocations: 160.3 kB / 0.7189 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.2095, allocations: 76.8 kB / 0.719 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.2113, allocations: 1.284 MB / 0.7202 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2113, allocations: 34.5 kB / 0.7203 GB, free: 9.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.2113, allocations: 0 / 0.7203 GB, free: 9.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006594/0.2119, allocations: 245.2 kB / 0.7205 GB, free: 9.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.212, allocations: 63.39 kB / 0.7206 GB, free: 8.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.2127, allocations: 0.5809 MB / 0.7211 GB, free: 8.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2128, allocations: 29.7 kB / 0.7212 GB, free: 8.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.213, allocations: 272.5 kB / 0.7214 GB, free: 8.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.2131, allocations: 63.47 kB / 0.7215 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2132, allocations: 65.97 kB / 0.7216 GB, free: 7.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2134, allocations: 358.8 kB / 0.7219 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2135, allocations: 81.94 kB / 0.722 GB, free: 7.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.2139, allocations: 210.7 kB / 0.7222 GB, free: 7.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.2143, allocations: 243.2 kB / 0.7224 GB, free: 6.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2143, allocations: 3.938 kB / 0.7224 GB, free: 6.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006034/0.2149, allocations: 315.7 kB / 0.7227 GB, free: 6.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2149, allocations: 7.984 kB / 0.7227 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2149, allocations: 4 kB / 0.7227 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2149, allocations: 7.938 kB / 0.7227 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.2152, allocations: 59.91 kB / 0.7228 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2152, allocations: 7.938 kB / 0.7228 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.2155, allocations: 47.72 kB / 0.7228 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.2156, allocations: 15.98 kB / 0.7229 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000309/0.2159, allocations: 216.8 kB / 0.7231 GB, free: 6.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003184/0.2162, allocations: 210.8 kB / 0.7233 GB, free: 6.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003942/0.2166, allocations: 229.2 kB / 0.7235 GB, free: 5.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.2166, allocations: 0 / 0.7235 GB, free: 5.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005865/0.2172, allocations: 315.4 kB / 0.7238 GB, free: 5.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2172, allocations: 8 kB / 0.7238 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.2172, allocations: 0 / 0.7238 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.2172, allocations: 4 kB / 0.7238 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2174, allocations: 63.84 kB / 0.7239 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2174, allocations: 4 kB / 0.7239 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.2177, allocations: 39.81 kB / 0.7239 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.2178, allocations: 16 kB / 0.7239 GB, free: 5.324 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 0.0001478/0.2179, allocations: 205.8 kB / 0.7241 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.218, allocations: 51.67 kB / 0.7242 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.2186, allocations: 246.5 kB / 0.7244 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.2186, allocations: 11.91 kB / 0.7244 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2186, allocations: 4 kB / 0.7244 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2186, allocations: 4 kB / 0.7244 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2197, allocations: 0.7356 MB / 0.7251 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2197, allocations: 0 / 0.7251 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2198, allocations: 27.98 kB / 0.7252 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2198, allocations: 4.125 kB / 0.7252 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2198, allocations: 7.984 kB / 0.7252 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2199, allocations: 7.984 kB / 0.7252 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.2199, allocations: 7.875 kB / 0.7252 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.2204, allocations: 354.7 kB / 0.7255 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.2205, allocations: 148.7 kB / 0.7257 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.2206, allocations: 8 kB / 0.7257 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.2208, allocations: 11.98 kB / 0.7257 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.2209, allocations: 19.86 kB / 0.7257 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2209, allocations: 11.94 kB / 0.7257 GB, free: 3.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005036/0.2214, allocations: 422.8 kB / 0.7261 GB, free: 2.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2214, allocations: 0 / 0.7261 GB, free: 2.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007499/0.2221, allocations: 235.5 kB / 0.7263 GB, free: 2.715 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002308/0.2244, allocations: 1.27 MB / 0.7276 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.2252, allocations: 312.2 kB / 0.7279 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2252, allocations: 4.25 kB / 0.7279 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.2254, allocations: 79.89 kB / 0.728 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.2266, allocations: 264 kB / 0.7282 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.2322, allocations: 3.946 MB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.2327, allocations: 0.8428 MB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003883/0.2331, allocations: 111.7 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.2333, allocations: 163.4 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.2333, allocations: 0 / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/0.2776, allocations: 15.12 MB / 0.7479 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.657/8.935, allocations: 10.72 kB / 0.7479 GB, free: 12.75 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.295643826015294] Failed to read output from testmodel.py, exit status != 0: 9.060261087026447 9.073850007 8.867698515 Calling exit ...