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.007622/0.007622, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001879/0.001879, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.314/1.314, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05518/0.05518, allocations: 11.85 MB / 281.8 MB, free: 9.344 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.002575/0.002575, allocations: 72.36 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2519, allocations: 49.22 MB / 441.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003296/0.2552, allocations: 2.63 MB / 443.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2563, allocations: 0.6956 MB / 444.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2564, allocations: 2.375 kB / 444.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.2566, allocations: 26.64 kB / 444.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.2569, allocations: 115.2 kB / 444.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.257, allocations: 44.81 kB / 444.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.2573, allocations: 260.9 kB / 444.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2574, allocations: 63.12 kB / 444.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2576, allocations: 97.88 kB / 445 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.2578, allocations: 93.5 kB / 445.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2578, allocations: 19.19 kB / 445.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.2579, allocations: 33.23 kB / 445.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.2579, allocations: 37.91 kB / 445.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.258, allocations: 101.9 kB / 445.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.2583, allocations: 204.9 kB / 445.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2583, allocations: 0 / 445.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2583, allocations: 0 / 445.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2583, allocations: 1.438 kB / 445.5 MB, free: 1.297 MB / 318.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.0005571/0.2589, allocations: 0.5025 MB / 446 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2589, allocations: 13.27 kB / 446 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.259, allocations: 49 kB / 446 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.2591, allocations: 24.08 kB / 446.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.2593, allocations: 235 kB / 446.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2594, allocations: 11.5 kB / 446.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.2594, allocations: 22.31 kB / 446.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2597, allocations: 192.2 kB / 446.5 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2597, allocations: 2.109 kB / 446.5 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2598, allocations: 5.031 kB / 446.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2598, allocations: 4.469 kB / 446.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.26, allocations: 124.3 kB / 446.6 MB, free: 364 kB / 318.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.001093/0.2611, allocations: 0.9257 MB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.2614, allocations: 152.6 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2615, allocations: 66.41 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2616, allocations: 6.078 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2616, allocations: 41.31 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2616, allocations: 0 / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001805/0.2634, allocations: 0.7385 MB / 448.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.2635, allocations: 80.22 kB / 448.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2637, allocations: 176.9 kB / 448.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2637, allocations: 31.44 kB / 448.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.2638, allocations: 125.9 kB / 449 MB, free: 14.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.2638, allocations: 64.83 kB / 449 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.2639, allocations: 44.56 kB / 449.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2641, allocations: 327.7 kB / 449.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2642, allocations: 67.45 kB / 449.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2643, allocations: 92.41 kB / 449.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.2647, allocations: 225.9 kB / 449.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2647, allocations: 0 / 449.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003899/0.2651, allocations: 232.4 kB / 450 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.2651, allocations: 43.92 kB / 450 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2651, allocations: 1.531 kB / 450 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2651, allocations: 2.359 kB / 450 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2654, allocations: 55.53 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.2655, allocations: 6.531 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2656, allocations: 11.67 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2656, allocations: 5.656 kB / 450.1 MB, free: 13.67 MB / 334.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.0001829/0.2658, allocations: 161.7 kB / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.2658, allocations: 20.47 kB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.2663, allocations: 252.5 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2663, allocations: 3.125 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2663, allocations: 0 / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2663, allocations: 3.984 kB / 450.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.2671, allocations: 0.5919 MB / 451.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2671, allocations: 3.938 kB / 451.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.2673, allocations: 55.88 kB / 451.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2673, allocations: 3.938 kB / 451.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2674, allocations: 6.375 kB / 451.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2674, allocations: 0 / 451.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2674, allocations: 3.281 kB / 451.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.2679, allocations: 408.6 kB / 451.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.171e-05/0.268, allocations: 107.8 kB / 451.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.2681, allocations: 6.75 kB / 451.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2682, allocations: 6.75 kB / 451.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.2683, allocations: 18.88 kB / 451.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2683, allocations: 8.125 kB / 451.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.2684, allocations: 134.9 kB / 451.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2684, allocations: 1.438 kB / 451.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.2687, allocations: 52 kB / 451.9 MB, free: 12.24 MB / 334.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.0008739/0.2696, allocations: 0.9418 MB / 452.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.27, allocations: 216.4 kB / 453.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.27, allocations: 0 / 453.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2702, allocations: 138.9 kB / 453.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.2706, allocations: 46.81 kB / 453.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.2733, allocations: 2.306 MB / 455.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2736, allocations: 0.7324 MB / 456.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.2737, allocations: 22.7 kB / 456.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2738, allocations: 64.28 kB / 456.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2738, allocations: 0 / 456.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.2983, allocations: 4.9 MB / 461.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.776, allocations: 12.92 kB / 461.3 MB, free: 5.938 MB / 334.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)