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.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00114/0.00114, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.146/1.146, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04874/0.04874, allocations: 11.83 MB / 281.3 MB, free: 9.613 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.001269/0.001269, allocations: 71.44 kB / 341.4 MB, free: 22.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06222/0.0635, allocations: 49.21 MB / 390.6 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003558/0.06708, allocations: 3.362 MB / 394 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.06931, allocations: 2.064 MB / 396.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.06944, allocations: 8 kB / 396.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.06966, allocations: 47.73 kB / 396.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.06987, allocations: 99.22 kB / 396.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.07047, allocations: 335.3 kB / 396.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.07073, allocations: 302.4 kB / 396.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.07089, allocations: 94.22 kB / 396.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.07102, allocations: 103.6 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.07116, allocations: 127.4 kB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.07119, allocations: 20 kB / 397.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.07145, allocations: 179.8 kB / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.0715, allocations: 55.77 kB / 397.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.0716, allocations: 127.3 kB / 397.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.07195, allocations: 358.9 kB / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.07196, allocations: 0 / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.07197, allocations: 0 / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.07198, allocations: 4 kB / 397.9 MB, free: 13.66 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.0005926/0.07258, allocations: 0.5529 MB / 398.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.07261, allocations: 11.89 kB / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.07266, allocations: 50.73 kB / 398.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.07271, allocations: 28.66 kB / 398.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.07295, allocations: 255.6 kB / 398.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.07297, allocations: 16.38 kB / 398.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.073, allocations: 19.94 kB / 398.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.07334, allocations: 211.9 kB / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.07335, allocations: 0 / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.07338, allocations: 8 kB / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.07339, allocations: 8 kB / 399 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.07368, allocations: 155.9 kB / 399.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.07484, allocations: 1.22 MB / 400.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.07517, allocations: 106.6 kB / 400.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.07529, allocations: 44.84 kB / 400.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.07537, allocations: 81.11 kB / 400.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.0754, allocations: 42.42 kB / 400.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.07541, allocations: 0 / 400.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001969/0.07738, allocations: 0.5197 MB / 401.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.07742, allocations: 59.41 kB / 401.3 MB, free: 9.957 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.0002575/0.07768, allocations: 258.7 kB / 401.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.07771, allocations: 25.7 kB / 401.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.07779, allocations: 163.9 kB / 401.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.07783, allocations: 39.39 kB / 401.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.0779, allocations: 45.61 kB / 401.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.078, allocations: 334.8 kB / 402.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.07817, allocations: 63.95 kB / 402.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.07836, allocations: 102.6 kB / 402.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.07871, allocations: 168 kB / 402.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.07871, allocations: 0 / 402.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004356/0.07915, allocations: 237.2 kB / 402.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.07917, allocations: 4 kB / 402.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.07918, allocations: 0 / 402.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.0792, allocations: 4 kB / 402.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.07938, allocations: 47.89 kB / 402.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.0794, allocations: 0 / 402.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.07955, allocations: 24.08 kB / 402.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.07957, allocations: 4 kB / 402.7 MB, free: 8.402 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.0001007/0.07967, allocations: 133.8 kB / 402.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.07972, allocations: 27.72 kB / 402.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.08015, allocations: 199.2 kB / 403.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.08017, allocations: 3.984 kB / 403.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.08017, allocations: 0 / 403.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.08018, allocations: 4 kB / 403.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.08044, allocations: 281.4 kB / 403.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.08045, allocations: 0 / 403.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.0806, allocations: 31.97 kB / 403.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.08061, allocations: 0 / 403.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.08063, allocations: 0 / 403.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.08063, allocations: 4 kB / 403.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.08064, allocations: 4 kB / 403.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.08106, allocations: 291 kB / 403.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.08115, allocations: 100.9 kB / 403.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.08119, allocations: 7.984 kB / 403.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.08135, allocations: 15.98 kB / 403.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.0814, allocations: 11.98 kB / 403.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.08141, allocations: 4 kB / 403.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.08156, allocations: 182 kB / 404 MB, free: 7.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.08157, allocations: 3.938 kB / 404 MB, free: 7.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.08188, allocations: 91.94 kB / 404.1 MB, free: 6.934 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.0007508/0.08264, allocations: 0.8723 MB / 405 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.08304, allocations: 163.8 kB / 405.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.08305, allocations: 0 / 405.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.08323, allocations: 71.89 kB / 405.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.08358, allocations: 61.23 kB / 405.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.08637, allocations: 2.502 MB / 407.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.08663, allocations: 0.7478 MB / 408.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.08676, allocations: 33.92 kB / 408.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.08687, allocations: 75.41 kB / 408.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.08687, allocations: 0 / 408.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.06/3.147, allocations: 5.972 MB / 414.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/3.147, allocations: 208.8 kB / 414.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/5.068, allocations: 0 / 414.8 MB, free: 12.08 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/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)