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.000746/0.0007459, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0008667/0.0008668, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05031/0.05031, allocations: 11.85 MB / 282.2 MB, free: 9.484 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.0005797/0.0005798, allocations: 16 kB / 343 MB, free: 22.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09989, allocations: 50.21 MB / 393.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003932/0.1039, allocations: 3.271 MB / 396.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.1067, allocations: 1.751 MB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1069, allocations: 4 kB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1073, allocations: 99.47 kB / 398.4 MB, free: 14.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.1078, allocations: 206.6 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.1084, allocations: 234.9 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004769/0.1089, allocations: 473.7 kB / 399.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1091, allocations: 97.45 kB / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1093, allocations: 143.4 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.1096, allocations: 175.2 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1096, allocations: 16 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1101, allocations: 195.8 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.1102, allocations: 75.67 kB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.1102, allocations: 97.45 kB / 400 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.1107, allocations: 435.2 kB / 400.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1107, allocations: 0 / 400.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1108, allocations: 0 / 400.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1108, allocations: 4 kB / 400.5 MB, free: 12.85 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.0009806/0.1118, allocations: 0.6232 MB / 401.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1118, allocations: 12.03 kB / 401.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/0.1119, allocations: 66.48 kB / 401.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.112, allocations: 39.53 kB / 401.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1124, allocations: 322.2 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1124, allocations: 28.56 kB / 401.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.1125, allocations: 24 kB / 401.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.113, allocations: 323.6 kB / 401.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1131, allocations: 0 / 401.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1131, allocations: 12 kB / 401.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1131, allocations: 7.953 kB / 401.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.1136, allocations: 270 kB / 402.2 MB, free: 11.03 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.001859/0.1155, allocations: 1.473 MB / 403.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1159, allocations: 221.2 kB / 403.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1161, allocations: 100.8 kB / 404 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/0.1162, allocations: 85.11 kB / 404 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1162, allocations: 38.52 kB / 404.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.1162, allocations: 0 / 404.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001984/0.1182, allocations: 0.899 MB / 405 MB, free: 7.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1182, allocations: 59.41 kB / 405 MB, free: 7.902 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.0004162/0.1187, allocations: 377.6 kB / 405.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1187, allocations: 29.7 kB / 405.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1188, allocations: 192.9 kB / 405.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.1189, allocations: 90.7 kB / 405.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.1189, allocations: 4 kB / 405.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1191, allocations: 342.8 kB / 406 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1193, allocations: 117.2 kB / 406.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1195, allocations: 148.8 kB / 406.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1197, allocations: 116 kB / 406.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1198, allocations: 0 / 406.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005458/0.1203, allocations: 324.8 kB / 406.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1203, allocations: 4 kB / 406.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1203, allocations: 4 kB / 406.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1204, allocations: 4.047 kB / 406.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.1207, allocations: 96.08 kB / 406.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1207, allocations: 4 kB / 406.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1209, allocations: 12 kB / 406.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.1209, allocations: 15.98 kB / 406.9 MB, free: 5.996 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.0002085/0.1212, allocations: 165.8 kB / 407 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1212, allocations: 39.48 kB / 407.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.1219, allocations: 325.9 kB / 407.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1219, allocations: 0 / 407.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.1219, allocations: 8 kB / 407.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1219, allocations: 0 / 407.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/0.1229, allocations: 0.7639 MB / 408.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1229, allocations: 0 / 408.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.1233, allocations: 79.94 kB / 408.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1233, allocations: 4 kB / 408.2 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1233, allocations: 4 kB / 408.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1233, allocations: 4 kB / 408.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1233, allocations: 0 / 408.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.1241, allocations: 0.5028 MB / 408.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1242, allocations: 148.6 kB / 408.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.1243, allocations: 4 kB / 408.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1245, allocations: 19.98 kB / 408.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.1245, allocations: 15.97 kB / 408.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.1245, allocations: 16.06 kB / 409 MB, free: 3.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.1248, allocations: 271.2 kB / 409.2 MB, free: 3.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1248, allocations: 0 / 409.2 MB, free: 3.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.1253, allocations: 115.9 kB / 409.3 MB, free: 3.426 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.001784/0.1271, allocations: 1.354 MB / 410.7 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.1276, allocations: 228.1 kB / 410.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1276, allocations: 4.125 kB / 410.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.1279, allocations: 131.8 kB / 411 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.1284, allocations: 101.3 kB / 411.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.1317, allocations: 2.249 MB / 413.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.132, allocations: 0.799 MB / 414.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.1323, allocations: 63.23 kB / 414.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.1325, allocations: 119.4 kB / 414.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1325, allocations: 0 / 414.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.1526, allocations: 8.986 MB / 423.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.1529, allocations: 222.9 kB / 423.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.121, allocations: 4 kB / 423.6 MB, free: 5.145 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: