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: translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009509, allocations: 105.6 kB / 15.98 MB, free: 5.895 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.001042/0.001042, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.208/1.208, allocations: 205.1 MB / 222.8 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04984/0.04984, allocations: 11.84 MB / 281.9 MB, free: 9.59 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.001314/0.001314, allocations: 71.86 kB / 342 MB, free: 22.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07415/0.07547, allocations: 49.22 MB / 391.2 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003973/0.07947, allocations: 3.351 MB / 394.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.08199, allocations: 2.08 MB / 396.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.08218, allocations: 8 kB / 396.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.08239, allocations: 39.73 kB / 396.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.08263, allocations: 91.23 kB / 396.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.08331, allocations: 335.3 kB / 397.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.08358, allocations: 298.4 kB / 397.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.08376, allocations: 102.2 kB / 397.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.08394, allocations: 111.6 kB / 397.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.08409, allocations: 119.4 kB / 397.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.08412, allocations: 16 kB / 397.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.08441, allocations: 191.8 kB / 397.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.08446, allocations: 47.77 kB / 398 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.08458, allocations: 135.3 kB / 398.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.08487, allocations: 251.5 kB / 398.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.08488, allocations: 0 / 398.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.08489, allocations: 4 kB / 398.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.0849, allocations: 3.938 kB / 398.3 MB, free: 13.84 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.0006772/0.08558, allocations: 0.5568 MB / 398.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.08562, allocations: 15.89 kB / 398.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.08568, allocations: 24.66 kB / 398.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.08593, allocations: 259.6 kB / 399.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.08595, allocations: 12.38 kB / 399.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.08599, allocations: 20.12 kB / 399.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.08639, allocations: 215.9 kB / 399.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.08641, allocations: 7.922 kB / 399.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.08643, allocations: 4 kB / 399.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.08644, allocations: 4 kB / 399.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.08676, allocations: 155.9 kB / 399.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.08805, allocations: 1.212 MB / 400.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.08841, allocations: 106.6 kB / 400.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.08858, allocations: 44.84 kB / 401 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.659e-05/0.08866, allocations: 85.09 kB / 401 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.0887, allocations: 34.5 kB / 401.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.0887, allocations: 4 kB / 401.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002162/0.09087, allocations: 0.5197 MB / 401.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.09093, allocations: 59.41 kB / 401.7 MB, free: 10.2 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.0003366/0.09128, allocations: 258.7 kB / 401.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.0913, allocations: 25.7 kB / 401.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.09143, allocations: 160 kB / 402.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.09147, allocations: 43.39 kB / 402.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.09155, allocations: 45.61 kB / 402.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.09167, allocations: 334.8 kB / 402.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.09186, allocations: 63.95 kB / 402.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.09206, allocations: 102.6 kB / 402.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.09242, allocations: 170.8 kB / 402.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.09243, allocations: 0 / 402.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004597/0.0929, allocations: 229.1 kB / 403.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.09292, allocations: 4 kB / 403.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.09293, allocations: 4 kB / 403.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.09295, allocations: 0 / 403.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.09316, allocations: 47.91 kB / 403.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.09317, allocations: 4.125 kB / 403.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.09333, allocations: 19.98 kB / 403.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.09336, allocations: 7.984 kB / 403.1 MB, free: 8.641 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.09351, allocations: 134.7 kB / 403.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.09357, allocations: 27.66 kB / 403.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.09404, allocations: 200.1 kB / 403.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.09405, allocations: 4 kB / 403.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.09406, allocations: 0 / 403.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.09407, allocations: 0 / 403.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.09438, allocations: 285.4 kB / 403.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09439, allocations: 0 / 403.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.09455, allocations: 27.97 kB / 403.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.09456, allocations: 0 / 403.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.09458, allocations: 8 kB / 403.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.09459, allocations: 3.984 kB / 403.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0946, allocations: 0 / 403.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.09504, allocations: 283 kB / 404.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.09513, allocations: 108.9 kB / 404.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.09518, allocations: 4 kB / 404.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.09534, allocations: 11.98 kB / 404.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.0954, allocations: 15.97 kB / 404.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.09542, allocations: 4 kB / 404.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.09557, allocations: 186 kB / 404.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09558, allocations: 0 / 404.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.096, allocations: 91.98 kB / 404.5 MB, free: 7.176 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 (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.0002471/0.09626, allocations: 159.1 kB / 404.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.0967, allocations: 159.8 kB / 404.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09671, allocations: 4.188 kB / 404.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.0969, allocations: 80.2 kB / 404.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.09733, allocations: 68.06 kB / 405 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008865/0.09822, allocations: 0.5375 MB / 405.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.09851, allocations: 0.744 MB / 406.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.0986, allocations: 27.42 kB / 406.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09861, allocations: 4 kB / 406.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of Templates: time 0.005431/0.104, allocations: 3.613 MB / 409.9 MB, free: 1.746 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)