Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 218.5 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.299/1.299, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2187, allocations: 53.31 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005263/0.2239, allocations: 4.418 MB / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.2258, allocations: 1.258 MB / 435.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.226, allocations: 8 kB / 435.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.2263, allocations: 134.8 kB / 435.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.2267, allocations: 269.8 kB / 435.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.2271, allocations: 199.7 kB / 435.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009233/0.2281, allocations: 0.9327 MB / 436.6 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.2283, allocations: 169.6 kB / 436.8 MB, free: 36 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.2287, allocations: 366.7 kB / 437.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.2292, allocations: 410.3 kB / 437.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2293, allocations: 80 kB / 437.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.2295, allocations: 83.94 kB / 437.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.2296, allocations: 171.4 kB / 437.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.23, allocations: 422 kB / 438.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.2309, allocations: 0.9216 MB / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2309, allocations: 0 / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2309, allocations: 0 / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2309, allocations: 0 / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001856/0.2328, allocations: 1.136 MB / 440.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2328, allocations: 11.97 kB / 440.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.2329, allocations: 95.64 kB / 440.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.2331, allocations: 100.4 kB / 440.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.2338, allocations: 497 kB / 441 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.2339, allocations: 100.9 kB / 441.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.234, allocations: 48.38 kB / 441.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2351, allocations: 0.6553 MB / 441.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2351, allocations: 0 / 441.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.2351, allocations: 24 kB / 441.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2351, allocations: 12 kB / 441.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2362, allocations: 455.7 kB / 442.3 MB, free: 10.3 MB / 350.1 MB 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.002864/0.239, allocations: 1.956 MB / 444.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.2409, allocations: 0.6627 MB / 444.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.2414, allocations: 230 kB / 445.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.2415, allocations: 12.42 kB / 445.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2415, allocations: 47.56 kB / 445.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.633e-06/0.2415, allocations: 0 / 445.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004728/0.2462, allocations: 1.484 MB / 446.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002734/0.2465, allocations: 0.5643 MB / 447.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.2471, allocations: 0.5343 MB / 447.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.2471, allocations: 37.7 kB / 447.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.2474, allocations: 293.1 kB / 448.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.2475, allocations: 194.3 kB / 448.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.2477, allocations: 114.2 kB / 448.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2479, allocations: 374.7 kB / 448.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.2484, allocations: 201 kB / 449 MB, free: 3.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.2491, allocations: 404.4 kB / 449.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2501, allocations: 496.5 kB / 449.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2501, allocations: 0 / 449.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002182/0.2523, allocations: 0.811 MB / 450.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.2523, allocations: 37.73 kB / 450.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2523, allocations: 3.938 kB / 450.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/0.2533, allocations: 222.3 kB / 450.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.2539, allocations: 123.8 kB / 451 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/0.2614, allocations: 5.604 MB / 456.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.262, allocations: 75.69 kB / 456.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.262, allocations: 19.98 kB / 456.7 MB, free: 10.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.2623, allocations: 193.8 kB / 456.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.2624, allocations: 79.53 kB / 457 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.2647, allocations: 0.7773 MB / 457.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2647, allocations: 11.88 kB / 457.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2647, allocations: 0 / 457.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002145/0.2669, allocations: 1.031 MB / 458.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.2699, allocations: 1.498 MB / 460.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2699, allocations: 3.938 kB / 460.3 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.2706, allocations: 127.8 kB / 460.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/0.2714, allocations: 177.5 kB / 460.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.2714, allocations: 12 kB / 460.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/0.2766, allocations: 3.8 MB / 464.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2766, allocations: 3.938 kB / 464.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.2793, allocations: 1.063 MB / 465.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.2796, allocations: 208.5 kB / 465.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.2797, allocations: 16 kB / 465.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.2802, allocations: 39.91 kB / 465.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.2803, allocations: 48.5 kB / 465.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.2803, allocations: 15.98 kB / 465.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.2808, allocations: 386.8 kB / 466.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2808, allocations: 0 / 466.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007081/0.2815, allocations: 219.8 kB / 466.4 MB, free: 0.6758 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003061/0.2845, allocations: 1.634 MB / 468 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.2868, allocations: 1.018 MB / 469.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2868, allocations: 0 / 469.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.2877, allocations: 0.524 MB / 469.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.2885, allocations: 194.3 kB / 469.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/0.2985, allocations: 6.023 MB / 475.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.299, allocations: 0.8918 MB / 476.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000302/0.2993, allocations: 89.06 kB / 476.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.2996, allocations: 231.4 kB / 477 MB, free: 5.812 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2996, allocations: 0 / 477 MB, free: 5.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.356, allocations: 20.39 MB / 497.4 MB, free: 1.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.04, allocations: 4.062 kB / 497.4 MB, free: 1.746 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.180789154001104]