Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.001195/0.001195, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001293/0.001293, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 207.6 MB / 229.8 MB, free: 4.277 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05926/0.05926, allocations: 12.01 MB / 293.7 MB, free: 4.453 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 77.92 kB / 411 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2415, allocations: 51.89 MB / 462.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.004509/0.246, allocations: 2.728 MB / 465.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.2486, allocations: 1.517 MB / 467.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.2488, allocations: 2.375 kB / 467.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.2489, allocations: 38.48 kB / 467.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.2493, allocations: 107.1 kB / 467.3 MB, free: 11.87 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.2501, allocations: 329.6 kB / 467.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.2505, allocations: 317.5 kB / 467.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2507, allocations: 64.67 kB / 468 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.2509, allocations: 109.7 kB / 468.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2511, allocations: 131.1 kB / 468.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.2511, allocations: 19.84 kB / 468.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.2515, allocations: 215 kB / 468.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.2516, allocations: 59.95 kB / 468.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.2518, allocations: 122.8 kB / 468.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.2524, allocations: 381.1 kB / 469 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2524, allocations: 0 / 469 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2524, allocations: 1.156 kB / 469 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2524, allocations: 7.922 kB / 469 MB, free: 10.82 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009851/0.2534, allocations: 0.5474 MB / 469.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2535, allocations: 12.86 kB / 469.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.2535, allocations: 53.73 kB / 469.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.2537, allocations: 26.17 kB / 469.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.254, allocations: 256.6 kB / 469.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.254, allocations: 16.06 kB / 469.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.254, allocations: 16.06 kB / 470 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.2544, allocations: 217.9 kB / 470.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2544, allocations: 1.219 kB / 470.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2545, allocations: 5.406 kB / 470.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2545, allocations: 4.562 kB / 470.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.2548, allocations: 146.4 kB / 470.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.2563, allocations: 1.108 MB / 471.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.2567, allocations: 134.1 kB / 471.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2568, allocations: 58.61 kB / 471.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.2571, allocations: 339.3 kB / 471.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2572, allocations: 35.69 kB / 472 MB, free: 8.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.2572, allocations: 1.094 kB / 472 MB, free: 8.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0017/0.2589, allocations: 0.6676 MB / 472.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2589, allocations: 53.59 kB / 472.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.2591, allocations: 218.5 kB / 472.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2592, allocations: 30.95 kB / 472.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.2593, allocations: 133.6 kB / 473.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.2593, allocations: 74.77 kB / 473.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.2594, allocations: 39.3 kB / 473.2 MB, free: 7.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2595, allocations: 331.8 kB / 473.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2597, allocations: 66.39 kB / 473.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.2599, allocations: 108.9 kB / 473.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.2602, allocations: 169.4 kB / 473.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2602, allocations: 5.062 kB / 473.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004099/0.2606, allocations: 209.7 kB / 474.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2606, allocations: 9.422 kB / 474.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2606, allocations: 1.969 kB / 474.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2606, allocations: 3.531 kB / 474.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.2609, allocations: 51.59 kB / 474.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2609, allocations: 10.06 kB / 474.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.261, allocations: 16.86 kB / 474.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.261, allocations: 7.562 kB / 474.2 MB, free: 6.398 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 22 * 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.0001721/0.2612, allocations: 140.7 kB / 474.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.2613, allocations: 22.2 kB / 474.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.2617, allocations: 219.9 kB / 474.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.2617, allocations: 5.219 kB / 474.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2617, allocations: 4 kB / 474.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.2617, allocations: 7.922 kB / 474.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.2625, allocations: 0.5374 MB / 475.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2625, allocations: 3.938 kB / 475.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.2628, allocations: 55.97 kB / 475.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2628, allocations: 0 / 475.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2628, allocations: 11.94 kB / 475.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2628, allocations: 0 / 475.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2628, allocations: 0 / 475.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.2634, allocations: 358.8 kB / 475.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2635, allocations: 117 kB / 475.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.2635, allocations: 3.938 kB / 475.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2637, allocations: 16.06 kB / 475.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.2637, allocations: 11.97 kB / 475.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2638, allocations: 8 kB / 475.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.2639, allocations: 163.1 kB / 475.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2639, allocations: 0 / 475.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.2643, allocations: 107.6 kB / 475.9 MB, free: 4.633 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (20): * Single equations (assignments): 20 * 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.001102/0.2654, allocations: 0.9579 MB / 476.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.2658, allocations: 139.9 kB / 477 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2658, allocations: 0 / 477 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.2659, allocations: 72.22 kB / 477.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.2664, allocations: 56.7 kB / 477.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.2698, allocations: 2.55 MB / 479.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2702, allocations: 0.7441 MB / 480.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.2703, allocations: 38.19 kB / 480.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.2705, allocations: 79.34 kB / 480.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2705, allocations: 0 / 480.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3003, allocations: 6.173 MB / 486.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.516, allocations: 4 kB / 486.7 MB, free: 9.652 MB / 350.1 MB " [Timeout remaining time 651] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.773719465825707] Failed to read output from testmodel.py, exit status != 0: 8.587706214282662 8.608817093 8.352405872 Calling exit ...