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.00631/0.00631, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001166/0.001166, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.323/1.323, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05506/0.05506, allocations: 11.84 MB / 281.7 MB, free: 9.32 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.001578/0.001578, allocations: 67.89 kB / 391.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2471, allocations: 49.23 MB / 441.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003535/0.2507, allocations: 2.629 MB / 443.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2518, allocations: 0.6961 MB / 444.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.252, allocations: 2.781 kB / 444.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.2521, allocations: 26.52 kB / 444.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.2525, allocations: 111.3 kB / 444.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.2526, allocations: 48.97 kB / 444.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2529, allocations: 259.8 kB / 444.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.253, allocations: 63.72 kB / 444.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2532, allocations: 94.25 kB / 445 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2534, allocations: 100.5 kB / 445.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.2534, allocations: 14.28 kB / 445.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2535, allocations: 34.06 kB / 445.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.2536, allocations: 38.98 kB / 445.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.2536, allocations: 100.4 kB / 445.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.2539, allocations: 206 kB / 445.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2539, allocations: 0 / 445.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2539, allocations: 1.25 kB / 445.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.254, allocations: 0 / 445.5 MB, free: 1.277 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.0005832/0.2545, allocations: 0.4971 MB / 446 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2546, allocations: 13.89 kB / 446 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.2546, allocations: 56.31 kB / 446 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.2547, allocations: 24.86 kB / 446.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.255, allocations: 234.9 kB / 446.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2551, allocations: 11.59 kB / 446.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2551, allocations: 23.06 kB / 446.3 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.2554, allocations: 184.6 kB / 446.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2554, allocations: 0 / 446.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.2555, allocations: 11.28 kB / 446.5 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2555, allocations: 7.938 kB / 446.5 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.2558, allocations: 128.7 kB / 446.6 MB, free: 336 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.001148/0.2569, allocations: 0.9137 MB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2572, allocations: 153.5 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2574, allocations: 65.09 kB / 447.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2574, allocations: 2.438 kB / 447.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2574, allocations: 36.64 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.2574, allocations: 0 / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001831/0.2593, allocations: 0.7444 MB / 448.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.2593, allocations: 84.17 kB / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2595, allocations: 180.3 kB / 448.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2595, allocations: 26.98 kB / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.2596, allocations: 127.2 kB / 449 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.2597, allocations: 71.64 kB / 449 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.2598, allocations: 36.94 kB / 449.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2599, allocations: 327.6 kB / 449.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.26, allocations: 66.44 kB / 449.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2602, allocations: 102.4 kB / 449.6 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.2606, allocations: 217.2 kB / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2606, allocations: 0 / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004123/0.261, allocations: 236 kB / 450 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.261, allocations: 36.31 kB / 450 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.261, allocations: 5.031 kB / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2611, allocations: 3.125 kB / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.2613, allocations: 60.78 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2614, allocations: 2.938 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2615, allocations: 12.12 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2615, allocations: 6.438 kB / 450.1 MB, free: 13.65 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.0001836/0.2617, allocations: 165.7 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2618, allocations: 19.12 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.2622, allocations: 249.1 kB / 450.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2622, allocations: 1.688 kB / 450.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2623, allocations: 5.594 kB / 450.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.2623, allocations: 0 / 450.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.263, allocations: 0.5907 MB / 451.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2631, allocations: 1.375 kB / 451.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.2633, allocations: 50.5 kB / 451.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2633, allocations: 5.562 kB / 451.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2633, allocations: 9.484 kB / 451.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2634, allocations: 4 kB / 451.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2634, allocations: 1.25 kB / 451.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.264, allocations: 405.9 kB / 451.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.2641, allocations: 104 kB / 451.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.2641, allocations: 2.156 kB / 451.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2643, allocations: 11.64 kB / 451.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.2643, allocations: 23.98 kB / 451.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2643, allocations: 4.062 kB / 451.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.2645, allocations: 134.1 kB / 451.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2645, allocations: 0 / 451.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.2648, allocations: 52.75 kB / 451.9 MB, free: 12.22 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.0008693/0.2656, allocations: 0.9461 MB / 452.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.2661, allocations: 216.5 kB / 453.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2661, allocations: 0 / 453.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.2663, allocations: 139.5 kB / 453.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2666, allocations: 46.09 kB / 453.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.2694, allocations: 2.303 MB / 455.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2697, allocations: 0.7364 MB / 456.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2699, allocations: 22.83 kB / 456.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.27, allocations: 68.69 kB / 456.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.27, allocations: 0 / 456.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.2921, allocations: 4.899 MB / 461.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/8.957, allocations: 9.047 kB / 461.3 MB, free: 5.918 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)