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.000872/0.0008719, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009202/0.0009203, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05296/0.05296, allocations: 11.84 MB / 282.2 MB, free: 9.48 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.0005687/0.0005687, allocations: 16.22 kB / 343 MB, free: 22.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07597, allocations: 50.22 MB / 393.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002628/0.07864, allocations: 2.624 MB / 395.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.08103, allocations: 1.879 MB / 397.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.08118, allocations: 4 kB / 397.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.08135, allocations: 67.52 kB / 397.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.08176, allocations: 223.3 kB / 398 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.08234, allocations: 271.3 kB / 398.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.0826, allocations: 215.5 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.08276, allocations: 77.72 kB / 398.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.08291, allocations: 87.64 kB / 398.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.08306, allocations: 107.5 kB / 398.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.08309, allocations: 8 kB / 398.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.08338, allocations: 175.8 kB / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.08342, allocations: 27.86 kB / 398.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.08348, allocations: 81.5 kB / 399 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.08377, allocations: 247.4 kB / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.08379, allocations: 4 kB / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08379, allocations: 0 / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.08381, allocations: 4 kB / 399.3 MB, free: 14.03 MB / 302.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.0006418/0.08445, allocations: 0.5139 MB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.08449, allocations: 8.031 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.08455, allocations: 50.55 kB / 399.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.0846, allocations: 31.62 kB / 399.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.08487, allocations: 254.5 kB / 400.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.0849, allocations: 12 kB / 400.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.08493, allocations: 20 kB / 400.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.08529, allocations: 211.9 kB / 400.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.08531, allocations: 3.938 kB / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.08533, allocations: 11.94 kB / 400.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.08535, allocations: 4 kB / 400.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.08569, allocations: 167.8 kB / 400.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.08699, allocations: 1.224 MB / 401.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.08736, allocations: 106.6 kB / 401.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/0.08745, allocations: 89.23 kB / 402 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.08749, allocations: 42.52 kB / 402 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.08749, allocations: 0 / 402 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002282/0.08978, allocations: 0.6291 MB / 402.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.08983, allocations: 51.41 kB / 402.7 MB, free: 10.29 MB / 302.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.0003068/0.09015, allocations: 262.6 kB / 402.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.09017, allocations: 25.7 kB / 403 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.09028, allocations: 160 kB / 403.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.09033, allocations: 47.44 kB / 403.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.09034, allocations: 0 / 403.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.09046, allocations: 338.8 kB / 403.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.09066, allocations: 75.95 kB / 403.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.09088, allocations: 112.2 kB / 403.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.09108, allocations: 79.97 kB / 403.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.09109, allocations: 0 / 403.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004941/0.09159, allocations: 249.1 kB / 404 MB, free: 8.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.09162, allocations: 4 kB / 404 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.09163, allocations: 7.938 kB / 404 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.09165, allocations: 0 / 404 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.09186, allocations: 60.02 kB / 404.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.09188, allocations: 4 kB / 404.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.09204, allocations: 15.98 kB / 404.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.09207, allocations: 12 kB / 404.1 MB, free: 8.812 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.09219, allocations: 129.8 kB / 404.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.09224, allocations: 27.67 kB / 404.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.09274, allocations: 212.2 kB / 404.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.09277, allocations: 4 kB / 404.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.09278, allocations: 0 / 404.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.09279, allocations: 3.984 kB / 404.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.09307, allocations: 269.5 kB / 404.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.09309, allocations: 7.984 kB / 404.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.09328, allocations: 35.97 kB / 404.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.09329, allocations: 0 / 404.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.09332, allocations: 15.89 kB / 404.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.09332, allocations: 0 / 404.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.09333, allocations: 7.938 kB / 404.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.09381, allocations: 295.2 kB / 405.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.09391, allocations: 108.8 kB / 405.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.09395, allocations: 4 kB / 405.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.09414, allocations: 31.88 kB / 405.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.09419, allocations: 7.984 kB / 405.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.09421, allocations: 4 kB / 405.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.09437, allocations: 186 kB / 405.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.09437, allocations: 0 / 405.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.09474, allocations: 80 kB / 405.5 MB, free: 7.316 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008627/0.09561, allocations: 0.8917 MB / 406.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.09607, allocations: 183.3 kB / 406.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.09608, allocations: 4 kB / 406.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.09628, allocations: 84.14 kB / 406.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.09663, allocations: 68.94 kB / 406.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.09797, allocations: 1.406 MB / 408.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.09823, allocations: 0.7482 MB / 408.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.09836, allocations: 29.94 kB / 408.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.09848, allocations: 79.39 kB / 409 MB, free: 3.715 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.09849, allocations: 0 / 409 MB, free: 3.715 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.1138, allocations: 5.595 MB / 414.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.114, allocations: 180.8 kB / 414.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.731, allocations: 3.938 kB / 414.8 MB, free: 13.95 MB / 318.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/linux/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) Environment - environmentSimulation: