Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",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.0009431/0.0009431, allocations: 100.2 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.0009764/0.0009766, allocations: 177.3 kB / 15.94 MB, free: 228 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.416/1.416, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05691/0.05691, allocations: 11.84 MB / 282.2 MB, free: 9.363 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.0005613/0.0005613, allocations: 16.22 kB / 343 MB, free: 22.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09849, allocations: 50.21 MB / 393.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003664/0.1022, allocations: 3.03 MB / 396.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1051, allocations: 1.74 MB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.1054, allocations: 7.938 kB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1057, allocations: 83.55 kB / 398.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005573/0.1063, allocations: 259.2 kB / 398.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.107, allocations: 239.1 kB / 398.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.1074, allocations: 331.3 kB / 398.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1076, allocations: 89.47 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1078, allocations: 147.4 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1081, allocations: 167.3 kB / 399.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1082, allocations: 16 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.1086, allocations: 187.8 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.1087, allocations: 71.72 kB / 399.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.1088, allocations: 93.52 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.1092, allocations: 427.2 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1093, allocations: 0 / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1093, allocations: 8 kB / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1093, allocations: 0 / 400 MB, free: 13.24 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009792/0.1103, allocations: 0.6194 MB / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1103, allocations: 8.031 kB / 400.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.1104, allocations: 74.44 kB / 400.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1105, allocations: 39.53 kB / 400.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1109, allocations: 326.2 kB / 401.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.111, allocations: 24.5 kB / 401.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.111, allocations: 24 kB / 401.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.1115, allocations: 315.6 kB / 401.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1116, allocations: 0 / 401.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1116, allocations: 12 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1116, allocations: 7.953 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1121, allocations: 270.1 kB / 401.7 MB, free: 11.43 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.114, allocations: 1.469 MB / 403.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.1146, allocations: 257.2 kB / 403.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.928e-05/0.1147, allocations: 93.08 kB / 403.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1148, allocations: 34.56 kB / 403.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1148, allocations: 0 / 403.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002076/0.1169, allocations: 0.8994 MB / 404.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1169, allocations: 59.41 kB / 404.5 MB, free: 8.367 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 sinusoid.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.0004218/0.1173, allocations: 377.6 kB / 404.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1174, allocations: 29.7 kB / 404.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1175, allocations: 188.4 kB / 405.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.1176, allocations: 94.7 kB / 405.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.1176, allocations: 4 kB / 405.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1177, allocations: 346.7 kB / 405.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.1179, allocations: 109.3 kB / 405.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.1182, allocations: 148.8 kB / 405.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1184, allocations: 116.1 kB / 405.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1184, allocations: 3.938 kB / 405.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005534/0.119, allocations: 313 kB / 406.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.119, allocations: 12.39 kB / 406.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.119, allocations: 0 / 406.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.119, allocations: 4 kB / 406.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.1194, allocations: 88.09 kB / 406.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1194, allocations: 7.938 kB / 406.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.1196, allocations: 16 kB / 406.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1196, allocations: 15.98 kB / 406.4 MB, free: 6.469 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002223/0.1199, allocations: 169.8 kB / 406.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.1199, allocations: 35.53 kB / 406.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006612/0.1206, allocations: 325.9 kB / 406.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1206, allocations: 11.94 kB / 406.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1206, allocations: 0 / 406.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1207, allocations: 0 / 406.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1217, allocations: 0.7523 MB / 407.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1217, allocations: 7.922 kB / 407.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.1221, allocations: 83.89 kB / 407.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1221, allocations: 0 / 407.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1221, allocations: 8 kB / 407.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1221, allocations: 0 / 407.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1221, allocations: 4 kB / 407.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.1229, allocations: 0.5028 MB / 408.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.1231, allocations: 144.6 kB / 408.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.1231, allocations: 4 kB / 408.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1233, allocations: 15.98 kB / 408.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1234, allocations: 28.03 kB / 408.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1234, allocations: 4 kB / 408.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.1237, allocations: 271.2 kB / 408.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1237, allocations: 4 kB / 408.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.1242, allocations: 115.9 kB / 408.8 MB, free: 3.898 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.001971/0.1261, allocations: 1.367 MB / 410.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.1267, allocations: 239.9 kB / 410.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1267, allocations: 0 / 410.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.1269, allocations: 127.8 kB / 410.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.1275, allocations: 97.38 kB / 410.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1296, allocations: 2.509 MB / 413.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1299, allocations: 0.8029 MB / 414 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.1302, allocations: 59.25 kB / 414 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.1303, allocations: 131.3 kB / 414.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1303, allocations: 0 / 414.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.1508, allocations: 8.818 MB / 423 MB, free: 5.738 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.151, allocations: 217.9 kB / 423.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.922, allocations: 3.938 kB / 423.2 MB, free: 5.492 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) Environment - environmentSimulation: