Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",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.0007649/0.0007687, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009308/0.0009309, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05199/0.05199, allocations: 11.85 MB / 282.2 MB, free: 9.461 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.000593/0.0005931, allocations: 16 kB / 343 MB, free: 22.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1198, allocations: 50.2 MB / 393.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004012/0.1239, allocations: 3.875 MB / 397.1 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1254, allocations: 0.9243 MB / 398 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1256, allocations: 8 kB / 398 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1258, allocations: 59.45 kB / 398.1 MB, free: 15.22 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/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.0005983/0.1264, allocations: 262.1 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1266, allocations: 67.92 kB / 398.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.1272, allocations: 0.6297 MB / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.1275, allocations: 177 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1277, allocations: 183.3 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.128, allocations: 227.1 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.128, allocations: 20 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1282, allocations: 39.88 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.1283, allocations: 87.67 kB / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.1284, allocations: 113.5 kB / 399.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.1287, allocations: 383.3 kB / 400.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1288, allocations: 4 kB / 400.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1288, allocations: 3.984 kB / 400.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1288, allocations: 0 / 400.3 MB, free: 13.04 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008809/0.1297, allocations: 0.6392 MB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1297, allocations: 8.031 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.253e-05/0.1298, allocations: 78.53 kB / 401 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.13, allocations: 59.33 kB / 401 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.1304, allocations: 325.4 kB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.1304, allocations: 29 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.1305, allocations: 40 kB / 401.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.1311, allocations: 378.4 kB / 401.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1312, allocations: 15.91 kB / 401.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.1312, allocations: 16 kB / 401.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1312, allocations: 8 kB / 401.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.1317, allocations: 303.8 kB / 402.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.1337, allocations: 1.727 MB / 403.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1341, allocations: 154.7 kB / 404 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1342, allocations: 80.81 kB / 404.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1343, allocations: 4 kB / 404.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1343, allocations: 38.56 kB / 404.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.1343, allocations: 0 / 404.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004405/0.1348, allocations: 225 kB / 404.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1348, allocations: 55.41 kB / 404.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.1353, allocations: 425.5 kB / 404.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1353, allocations: 25.7 kB / 404.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1355, allocations: 243.5 kB / 405.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.1356, allocations: 59.19 kB / 405.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.1356, allocations: 4 kB / 405.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1358, allocations: 350.8 kB / 405.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1359, allocations: 73.09 kB / 405.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.1362, allocations: 173.3 kB / 405.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1363, allocations: 95.86 kB / 405.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1364, allocations: 0 / 405.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004948/0.1369, allocations: 300.8 kB / 406.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1369, allocations: 4 kB / 406.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1369, allocations: 11.92 kB / 406.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.1369, allocations: 4.438 kB / 406.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1372, allocations: 79.89 kB / 406.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1372, allocations: 7.938 kB / 406.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1374, allocations: 43.44 kB / 406.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1375, allocations: 12 kB / 406.3 MB, free: 6.609 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0002766/0.1377, allocations: 186.5 kB / 406.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1378, allocations: 35.62 kB / 406.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.1382, allocations: 215.4 kB / 406.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1382, allocations: 4 kB / 406.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1382, allocations: 0 / 406.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1383, allocations: 3.984 kB / 406.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.1392, allocations: 0.7156 MB / 407.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1392, allocations: 0 / 407.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1394, allocations: 39.97 kB / 407.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1394, allocations: 4 kB / 407.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.1394, allocations: 8 kB / 407.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1394, allocations: 8.062 kB / 407.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1395, allocations: 0 / 407.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.14, allocations: 382.3 kB / 407.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1401, allocations: 136.6 kB / 408 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.1402, allocations: 8 kB / 408 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1404, allocations: 7.984 kB / 408 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.1404, allocations: 23.88 kB / 408 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1404, allocations: 8 kB / 408 MB, free: 4.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003384/0.1408, allocations: 303.1 kB / 408.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1408, allocations: 4.062 kB / 408.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.1412, allocations: 99.84 kB / 408.4 MB, free: 4.301 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * 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 (18): * Single equations (assignments): 18 * 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.0007756/0.142, allocations: 0.9191 MB / 409.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1423, allocations: 168 kB / 409.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1423, allocations: 4.062 kB / 409.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1424, allocations: 71.84 kB / 409.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.1431, allocations: 145.5 kB / 409.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.1462, allocations: 2.266 MB / 412 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1466, allocations: 0.8269 MB / 412.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.1469, allocations: 60.16 kB / 412.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.147, allocations: 127.4 kB / 413 MB, free: 15.56 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.147, allocations: 0 / 413 MB, free: 15.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.1826, allocations: 8.782 MB / 421.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/0.183, allocations: 187.5 kB / 422 MB, free: 6.613 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.505, allocations: 0 / 422 MB, free: 6.613 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) Environment - environmentSimulation: