Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007516/0.007516, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 194.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05936/0.05936, allocations: 11.84 MB / 281.8 MB, free: 9.316 MB / 238.1 MB 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.002054/0.002054, allocations: 76.45 kB / 391.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2511, allocations: 49.23 MB / 441.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.00335/0.2545, allocations: 2.594 MB / 443.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2568, allocations: 1.983 MB / 445.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.257, allocations: 4.031 kB / 445.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.2573, allocations: 51.58 kB / 445.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.2575, allocations: 117.2 kB / 445.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.2583, allocations: 378.6 kB / 446.2 MB, free: 0.4922 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0003001/0.2586, allocations: 307.2 kB / 446.5 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.2588, allocations: 95.03 kB / 446.6 MB, free: 288 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2589, allocations: 111.5 kB / 446.7 MB, free: 236 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.2591, allocations: 119.9 kB / 446.8 MB, free: 176 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.2591, allocations: 21.19 kB / 446.8 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.2595, allocations: 189 kB / 447 MB, free: 128 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.2596, allocations: 44.19 kB / 447.1 MB, free: 96 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2597, allocations: 134.4 kB / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.2603, allocations: 357.7 kB / 447.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2603, allocations: 5.25 kB / 447.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2603, allocations: 0 / 447.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2603, allocations: 0 / 447.6 MB, free: 15.87 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008398/0.2612, allocations: 0.5627 MB / 448.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2612, allocations: 12.58 kB / 448.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.001e-05/0.2613, allocations: 53.42 kB / 448.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.2613, allocations: 26.3 kB / 448.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.2617, allocations: 268.7 kB / 448.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2618, allocations: 15.41 kB / 448.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.2618, allocations: 22.12 kB / 448.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.2622, allocations: 212.5 kB / 448.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2623, allocations: 5.062 kB / 448.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.2623, allocations: 4.969 kB / 448.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2623, allocations: 5.062 kB / 448.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.2627, allocations: 166.3 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2642, allocations: 1.215 MB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.2646, allocations: 106.6 kB / 450.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.2648, allocations: 42.59 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-05/0.2649, allocations: 85.75 kB / 450.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2649, allocations: 43.92 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2649, allocations: 0 / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.002219/0.2672, allocations: 0.5127 MB / 450.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2672, allocations: 52.78 kB / 450.9 MB, free: 13.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.2675, allocations: 263.5 kB / 451.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2676, allocations: 27.55 kB / 451.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2677, allocations: 164.7 kB / 451.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2677, allocations: 44.84 kB / 451.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.2678, allocations: 42.2 kB / 451.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.268, allocations: 332.2 kB / 451.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2682, allocations: 63.11 kB / 451.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.2684, allocations: 99.97 kB / 452 MB, free: 12.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.2688, allocations: 170.2 kB / 452.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2688, allocations: 5.375 kB / 452.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005274/0.2694, allocations: 229.6 kB / 452.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2694, allocations: 5.5 kB / 452.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2694, allocations: 1.375 kB / 452.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2694, allocations: 2.75 kB / 452.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2696, allocations: 47.7 kB / 452.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2696, allocations: 1.375 kB / 452.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2698, allocations: 16.23 kB / 452.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2698, allocations: 5.812 kB / 452.4 MB, free: 11.94 MB / 334.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 (18): * Single equations (assignments): 18 * 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.0001368/0.27, allocations: 143.3 kB / 452.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.27, allocations: 22.86 kB / 452.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.2706, allocations: 198.8 kB / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2706, allocations: 1.844 kB / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2706, allocations: 0 / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.2706, allocations: 3.984 kB / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.271, allocations: 288.3 kB / 453.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.271, allocations: 1.031 kB / 453.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2711, allocations: 30.22 kB / 453.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2712, allocations: 4 kB / 453.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2712, allocations: 1.188 kB / 453.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2712, allocations: 1.594 kB / 453.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2712, allocations: 0 / 453.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.2717, allocations: 274.9 kB / 453.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2718, allocations: 117 kB / 453.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.2719, allocations: 9.188 kB / 453.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.272, allocations: 10.08 kB / 453.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.2721, allocations: 16.14 kB / 453.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.2721, allocations: 7.266 kB / 453.5 MB, free: 11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.2723, allocations: 180.1 kB / 453.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2723, allocations: 3.938 kB / 453.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000414/0.2727, allocations: 94.8 kB / 453.8 MB, free: 10.85 MB / 334.1 MB 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 (11): * Single equations (assignments): 11 * 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.0009828/0.2737, allocations: 0.8796 MB / 454.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.2742, allocations: 156.4 kB / 454.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2742, allocations: 0 / 454.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2744, allocations: 74 kB / 454.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.2748, allocations: 57.73 kB / 455 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.2783, allocations: 2.43 MB / 457.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.2787, allocations: 0.7424 MB / 458.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.2788, allocations: 35.33 kB / 458.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2789, allocations: 76.09 kB / 458.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2789, allocations: 0 / 458.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.3063, allocations: 6.214 MB / 464.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.227, allocations: 11.88 kB / 464.5 MB, free: 3.27 MB / 334.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)