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.0007884/0.0007884, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004482/0.004482, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.117/1.117, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04871/0.04871, allocations: 11.85 MB / 282.6 MB, free: 9.379 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.0004891/0.0004891, allocations: 22.56 kB / 343.6 MB, free: 22.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06292/0.06342, allocations: 50.21 MB / 393.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002482/0.06591, allocations: 2.677 MB / 396.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.067, allocations: 0.737 MB / 397.3 MB, free: 328 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.06713, allocations: 4 kB / 397.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.431e-05/0.06722, allocations: 15.84 kB / 397.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.0675, allocations: 99.36 kB / 397.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.06764, allocations: 43.89 kB / 397.4 MB, free: 164 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.06787, allocations: 238.7 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.068, allocations: 57.64 kB / 397.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.06812, allocations: 83.66 kB / 397.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.06826, allocations: 87.61 kB / 397.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.06829, allocations: 15.94 kB / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.06837, allocations: 23.98 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.0684, allocations: 23.86 kB / 397.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.06851, allocations: 125.2 kB / 398.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.0687, allocations: 191.5 kB / 398.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.06872, allocations: 4 kB / 398.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.06872, allocations: 0 / 398.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.06873, allocations: 0 / 398.2 MB, free: 15.32 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.000493/0.06923, allocations: 480.5 kB / 398.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.06927, allocations: 12.03 kB / 398.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.06932, allocations: 50.73 kB / 398.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.06941, allocations: 20.75 kB / 398.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.0696, allocations: 227.9 kB / 399 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.06963, allocations: 20.38 kB / 399 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.06966, allocations: 19.94 kB / 399.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.06996, allocations: 183.8 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.06998, allocations: 0 / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.07, allocations: 7.984 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.07001, allocations: 7.938 kB / 399.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.07024, allocations: 132.9 kB / 399.4 MB, free: 14.06 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.0009623/0.07121, allocations: 0.9412 MB / 400.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.07147, allocations: 153.2 kB / 400.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.07159, allocations: 64.83 kB / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.07162, allocations: 4 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.07164, allocations: 34.56 kB / 400.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.07165, allocations: 0 / 400.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001581/0.07323, allocations: 0.7912 MB / 401.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.07328, allocations: 77.11 kB / 401.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.07341, allocations: 178.7 kB / 401.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.07344, allocations: 29.7 kB / 401.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.07351, allocations: 136.3 kB / 401.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.07356, allocations: 67 kB / 401.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.0736, allocations: 25.7 kB / 401.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.07369, allocations: 326.8 kB / 402.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.07383, allocations: 68.81 kB / 402.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.07398, allocations: 96.25 kB / 402.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.07428, allocations: 225.8 kB / 402.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.07429, allocations: 0 / 402.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003667/0.07466, allocations: 244.2 kB / 402.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.0747, allocations: 29.7 kB / 402.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.07471, allocations: 12.03 kB / 402.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.07472, allocations: 0 / 402.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.07498, allocations: 59.95 kB / 402.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.07499, allocations: 3.938 kB / 402.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.07511, allocations: 12 kB / 402.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.07514, allocations: 7.984 kB / 402.9 MB, free: 10.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.0753, allocations: 166.7 kB / 403.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.07534, allocations: 15.81 kB / 403.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.07578, allocations: 276.9 kB / 403.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.07579, allocations: 4 kB / 403.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.0758, allocations: 0 / 403.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.07581, allocations: 7.984 kB / 403.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.07647, allocations: 0.578 MB / 404 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.07649, allocations: 4 kB / 404 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.07673, allocations: 59.95 kB / 404 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.07674, allocations: 0 / 404 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.07676, allocations: 11.94 kB / 404 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.07677, allocations: 0 / 404 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.07677, allocations: 0 / 404 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.07731, allocations: 425.3 kB / 404.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.0774, allocations: 108.8 kB / 404.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.07743, allocations: 4 kB / 404.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.07757, allocations: 8 kB / 404.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.07762, allocations: 19.97 kB / 404.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.07764, allocations: 4.062 kB / 404.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.07774, allocations: 139.2 kB / 404.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07774, allocations: 0 / 404.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.07801, allocations: 52 kB / 404.8 MB, free: 8.207 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 (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.0007444/0.07876, allocations: 0.9594 MB / 405.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.07911, allocations: 215.5 kB / 406 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.07912, allocations: 4 kB / 406 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.0793, allocations: 147.2 kB / 406.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.07962, allocations: 40.06 kB / 406.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.082, allocations: 2.473 MB / 408.6 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.08224, allocations: 0.7285 MB / 409.3 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.08236, allocations: 33.86 kB / 409.4 MB, free: 3.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.08246, allocations: 63.41 kB / 409.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08247, allocations: 3.938 kB / 409.4 MB, free: 3.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.449/1.531, allocations: 4.391 MB / 413.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.531, allocations: 217.4 kB / 414 MB, free: 14.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/3.109, allocations: 0 / 414 MB, free: 14.81 MB / 318.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/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)