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.001285/0.001285, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001362/0.001362, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.466/1.466, allocations: 230.5 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] 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.001905/0.001905, allocations: 67.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 53.32 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005791/0.1152, allocations: 4.397 MB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2064/0.3216, allocations: 1.238 MB / 432.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.322, allocations: 9.625 kB / 432.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.3225, allocations: 137.4 kB / 432.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006019/0.3231, allocations: 276.8 kB / 432.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.3236, allocations: 196.5 kB / 433.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.3245, allocations: 0.9226 MB / 434 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.3247, allocations: 168.2 kB / 434.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.3252, allocations: 378.5 kB / 434.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.3256, allocations: 404.3 kB / 435 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.3257, allocations: 75.47 kB / 435 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.3259, allocations: 80.48 kB / 435.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.326, allocations: 173.5 kB / 435.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.3264, allocations: 412.9 kB / 435.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3275, allocations: 0.9256 MB / 436.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3275, allocations: 3.438 kB / 436.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3275, allocations: 5.156 kB / 436.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.3275, allocations: 0 / 436.6 MB, free: 6.828 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.001979/0.3295, allocations: 1.13 MB / 437.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3295, allocations: 8.875 kB / 437.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.3297, allocations: 95.39 kB / 437.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.3299, allocations: 96.53 kB / 438 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.3306, allocations: 496.6 kB / 438.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.3308, allocations: 97.36 kB / 438.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.3309, allocations: 48.62 kB / 438.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3319, allocations: 0.6617 MB / 439.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.332, allocations: 0 / 439.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.332, allocations: 22.41 kB / 439.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.332, allocations: 12.22 kB / 439.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.333, allocations: 455.5 kB / 439.7 MB, free: 4.902 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.002954/0.336, allocations: 1.964 MB / 441.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3378, allocations: 0.6523 MB / 442.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.3383, allocations: 237.8 kB / 442.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.3383, allocations: 15.58 kB / 442.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.3384, allocations: 44.89 kB / 442.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.3384, allocations: 0 / 442.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004928/0.3433, allocations: 1.477 MB / 444.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.3434, allocations: 0.5714 MB / 444.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.3441, allocations: 0.5368 MB / 445.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.3442, allocations: 43.3 kB / 445.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3443, allocations: 291.6 kB / 445.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3445, allocations: 195.5 kB / 445.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.3446, allocations: 107.7 kB / 445.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.3447, allocations: 377.5 kB / 446.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.3452, allocations: 198.4 kB / 446.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.3458, allocations: 415.4 kB / 446.8 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.3467, allocations: 490 kB / 447.3 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3467, allocations: 5.062 kB / 447.3 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002351/0.3491, allocations: 0.805 MB / 448.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.3491, allocations: 34.34 kB / 448.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3491, allocations: 6.188 kB / 448.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3501, allocations: 225.5 kB / 448.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.3509, allocations: 125.2 kB / 448.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008326/0.3592, allocations: 5.604 MB / 454.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.3601, allocations: 75.64 kB / 454.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.3602, allocations: 19.16 kB / 454.2 MB, free: 10.81 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.00039/0.3605, allocations: 207.9 kB / 454.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3607, allocations: 77.16 kB / 454.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.363, allocations: 0.7676 MB / 455.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.363, allocations: 9.438 kB / 455.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.363, allocations: 3.938 kB / 455.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0023/0.3653, allocations: 1.028 MB / 456.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.3688, allocations: 1.502 MB / 457.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3688, allocations: 0 / 457.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007472/0.3696, allocations: 129.1 kB / 457.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000852/0.3704, allocations: 182 kB / 458.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.3705, allocations: 11.83 kB / 458.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/0.376, allocations: 3.807 MB / 461.9 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.376, allocations: 5.797 kB / 461.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3789, allocations: 1.062 MB / 463 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005216/0.3794, allocations: 211.7 kB / 463.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.3795, allocations: 13.53 kB / 463.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.38, allocations: 40.7 kB / 463.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.3802, allocations: 47.94 kB / 463.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.3802, allocations: 13.88 kB / 463.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.3808, allocations: 385 kB / 463.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 463.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008678/0.3816, allocations: 220.7 kB / 463.9 MB, free: 4.273 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.00319/0.3848, allocations: 1.632 MB / 465.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.3873, allocations: 1.014 MB / 466.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3873, allocations: 1.188 kB / 466.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3883, allocations: 0.5173 MB / 467 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3893, allocations: 193.2 kB / 467.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.4008, allocations: 6.038 MB / 473.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.4013, allocations: 0.8907 MB / 474.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.4018, allocations: 83.66 kB / 474.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.4022, allocations: 232.2 kB / 474.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4022, allocations: 0 / 474.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/0.494, allocations: 20.32 MB / 494.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.88, allocations: 3.984 kB / 494.8 MB, free: 10.59 MB / 398.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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: 16.24187943385914] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T', 'speed.phi'] 13.98201224533841 13.999531894 13.668490639 Calling exit ...