Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",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.001257/0.001257, allocations: 92.16 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.001296/0.001297, 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 2.206/2.206, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05218/0.05218, allocations: 11.84 MB / 282.2 MB, free: 9.355 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.0005906/0.0005906, allocations: 19.98 kB / 343 MB, free: 22.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 50.2 MB / 393.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.00371/0.1314, allocations: 2.577 MB / 395.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.133, allocations: 0.7061 MB / 396.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.1333, allocations: 4 kB / 396.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.1334, allocations: 23.77 kB / 396.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1339, allocations: 135 kB / 396.7 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.1341, allocations: 39.89 kB / 396.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1344, allocations: 238.7 kB / 396.9 MB, free: 368 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1345, allocations: 37.66 kB / 397 MB, free: 328 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1347, allocations: 83.7 kB / 397.1 MB, free: 244 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.1349, allocations: 91.61 kB / 397.2 MB, free: 152 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1349, allocations: 12 kB / 397.2 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1351, allocations: 23.98 kB / 397.2 MB, free: 116 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.1351, allocations: 27.86 kB / 397.2 MB, free: 88 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.1352, allocations: 61.58 kB / 397.3 MB, free: 20 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1354, allocations: 151.8 kB / 397.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1354, allocations: 0 / 397.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1354, allocations: 0 / 397.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1355, allocations: 0 / 397.4 MB, free: 15.87 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006808/0.1361, allocations: 484.3 kB / 397.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1362, allocations: 8.031 kB / 397.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.1363, allocations: 50.55 kB / 398 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.1364, allocations: 19.77 kB / 398 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1367, allocations: 222.8 kB / 398.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1367, allocations: 8 kB / 398.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1367, allocations: 16 kB / 398.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.1371, allocations: 195.7 kB / 398.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1371, allocations: 3.906 kB / 398.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.1372, allocations: 8 kB / 398.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1372, allocations: 8 kB / 398.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.1374, allocations: 128.9 kB / 398.6 MB, free: 14.62 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.001172/0.1386, allocations: 0.9298 MB / 399.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1389, allocations: 150.8 kB / 399.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1391, allocations: 68.77 kB / 399.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1391, allocations: 3.984 kB / 399.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1391, allocations: 38.5 kB / 399.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.1391, allocations: 4 kB / 399.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001737/0.1409, allocations: 0.7799 MB / 400.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1409, allocations: 85.06 kB / 400.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1411, allocations: 182.7 kB / 400.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1411, allocations: 29.64 kB / 400.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.1412, allocations: 124.3 kB / 400.9 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.1413, allocations: 67 kB / 401 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1413, allocations: 4 kB / 401 MB, free: 11.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1414, allocations: 330.8 kB / 401.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1416, allocations: 65 kB / 401.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1417, allocations: 96.25 kB / 401.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1419, allocations: 99.81 kB / 401.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1419, allocations: 0 / 401.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003978/0.1423, allocations: 239 kB / 401.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.1424, allocations: 29.7 kB / 401.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1424, allocations: 7.922 kB / 401.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1424, allocations: 4 kB / 401.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1427, allocations: 55.97 kB / 401.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1427, allocations: 4 kB / 401.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1428, allocations: 15.94 kB / 401.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1429, allocations: 12.09 kB / 401.9 MB, free: 10.94 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: 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0002448/0.1431, allocations: 172.3 kB / 402.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.1432, allocations: 15.81 kB / 402.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.1436, allocations: 269.1 kB / 402.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1436, allocations: 7.938 kB / 402.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1436, allocations: 0 / 402.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1437, allocations: 0 / 402.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.1444, allocations: 0.5782 MB / 403 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1444, allocations: 8 kB / 403 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.1447, allocations: 59.91 kB / 403 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1447, allocations: 8.031 kB / 403 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1447, allocations: 4 kB / 403.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1447, allocations: 0 / 403.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1447, allocations: 7.891 kB / 403.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.1453, allocations: 413.3 kB / 403.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.1454, allocations: 108.9 kB / 403.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1454, allocations: 4 kB / 403.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1456, allocations: 20.05 kB / 403.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1456, allocations: 19.88 kB / 403.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1457, allocations: 8 kB / 403.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1458, allocations: 131.2 kB / 403.7 MB, free: 9 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1458, allocations: 0 / 403.7 MB, free: 9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1461, allocations: 52 kB / 403.8 MB, free: 8.949 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0008616/0.1469, allocations: 0.9634 MB / 404.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.1473, allocations: 216.6 kB / 405 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1473, allocations: 0 / 405 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.1475, allocations: 139.3 kB / 405.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1479, allocations: 52.28 kB / 405.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1499, allocations: 1.27 MB / 406.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1502, allocations: 0.7367 MB / 407.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.1504, allocations: 33.92 kB / 407.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.1505, allocations: 63.41 kB / 407.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1505, allocations: 0 / 407.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.1715, allocations: 4.317 MB / 411.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1717, allocations: 206.2 kB / 411.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.463, allocations: 0 / 411.8 MB, free: 0.8789 MB / 302.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) Environment - environmentSimulation: