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.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.00146, allocations: 195 kB / 16.53 MB, free: 6.664 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.447/1.447, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05677/0.05677, allocations: 11.84 MB / 281.6 MB, free: 9.43 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.00158/0.00158, allocations: 79.42 kB / 341.8 MB, free: 21.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09721, allocations: 49.22 MB / 391 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003936/0.1012, allocations: 2.6 MB / 393.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.104, allocations: 1.978 MB / 395.6 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1042, allocations: 4 kB / 395.6 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1045, allocations: 63.5 kB / 395.7 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1048, allocations: 107.2 kB / 395.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.1056, allocations: 374.9 kB / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1059, allocations: 302.2 kB / 396.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1061, allocations: 102.2 kB / 396.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1063, allocations: 111.5 kB / 396.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1065, allocations: 115.5 kB / 396.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1065, allocations: 16 kB / 396.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.1068, allocations: 195.8 kB / 397 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.1069, allocations: 43.78 kB / 397 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.107, allocations: 127.3 kB / 397.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1075, allocations: 359 kB / 397.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1075, allocations: 4 kB / 397.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1075, allocations: 0 / 397.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1075, allocations: 0 / 397.5 MB, free: 14.21 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.0007553/0.1083, allocations: 0.5568 MB / 398.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1083, allocations: 15.89 kB / 398.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.1084, allocations: 24.66 kB / 398.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1087, allocations: 259.6 kB / 398.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1087, allocations: 12.38 kB / 398.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1088, allocations: 24.06 kB / 398.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.1091, allocations: 211.9 kB / 398.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1092, allocations: 0 / 398.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1092, allocations: 11.94 kB / 398.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1092, allocations: 4 kB / 398.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.1095, allocations: 155.8 kB / 398.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.111, allocations: 1.224 MB / 400 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.1114, allocations: 106.5 kB / 400.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1115, allocations: 44.84 kB / 400.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.1116, allocations: 85.09 kB / 400.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1116, allocations: 42.5 kB / 400.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1117, allocations: 0 / 400.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002285/0.1139, allocations: 0.512 MB / 400.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.114, allocations: 55.41 kB / 400.8 MB, free: 10.56 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.000369/0.1144, allocations: 258.7 kB / 401.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1144, allocations: 33.64 kB / 401.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1145, allocations: 156 kB / 401.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.1146, allocations: 47.39 kB / 401.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.1146, allocations: 41.61 kB / 401.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1148, allocations: 334.8 kB / 401.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.115, allocations: 63.95 kB / 401.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1152, allocations: 106.7 kB / 401.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1156, allocations: 164.2 kB / 402 MB, free: 9.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1156, allocations: 3.984 kB / 402 MB, free: 9.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000505/0.1161, allocations: 225.2 kB / 402.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1162, allocations: 7.984 kB / 402.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1162, allocations: 4 kB / 402.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1162, allocations: 3.938 kB / 402.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1164, allocations: 44.09 kB / 402.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1164, allocations: 4 kB / 402.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.1166, allocations: 11.98 kB / 402.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1166, allocations: 15.98 kB / 402.3 MB, free: 8.996 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.0001203/0.1167, allocations: 134.7 kB / 402.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1168, allocations: 23.66 kB / 402.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.1173, allocations: 195.2 kB / 402.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1173, allocations: 0 / 402.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1173, allocations: 4 kB / 402.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1174, allocations: 0 / 402.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.1177, allocations: 281.4 kB / 402.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1177, allocations: 4 kB / 402.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1179, allocations: 35.91 kB / 403 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1179, allocations: 4 kB / 403 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1179, allocations: 4 kB / 403 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1179, allocations: 0 / 403 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1179, allocations: 0 / 403 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.1184, allocations: 283.3 kB / 403.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1185, allocations: 116.8 kB / 403.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1186, allocations: 0 / 403.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1188, allocations: 15.98 kB / 403.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.1188, allocations: 7.984 kB / 403.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.1188, allocations: 3.938 kB / 403.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.119, allocations: 190 kB / 403.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.119, allocations: 0 / 403.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.1194, allocations: 84 kB / 403.7 MB, free: 7.539 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.0002693/0.1197, allocations: 175.1 kB / 403.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.1201, allocations: 151.8 kB / 404 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1201, allocations: 256 / 404 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1204, allocations: 79.89 kB / 404.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1208, allocations: 65.27 kB / 404.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.1217, allocations: 448.6 kB / 404.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.122, allocations: 0.744 MB / 405.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.1221, allocations: 29.94 kB / 405.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.1222, allocations: 19.44 kB / 405.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1222, allocations: 0 / 405.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of Templates: time 0.007594/0.1298, allocations: 3.772 MB / 409.1 MB, free: 2.051 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)