Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",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.005576/0.005576, allocations: 98.69 kB / 15.73 MB, free: 5.547 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.001306/0.001306, allocations: 189.1 kB / 16.67 MB, free: 5.492 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.287/1.287, allocations: 205.1 MB / 222.6 MB, free: 4.219 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05382/0.05382, allocations: 11.84 MB / 281.7 MB, free: 9.219 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.001916/0.001916, allocations: 76.45 kB / 391.8 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2376, allocations: 49.22 MB / 441.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003425/0.2411, allocations: 2.898 MB / 444 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.2435, allocations: 2.011 MB / 446 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.2437, allocations: 2.844 kB / 446 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.244, allocations: 61.03 kB / 446 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.2444, allocations: 150.9 kB / 446.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.2452, allocations: 377.8 kB / 446.6 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.2456, allocations: 379.9 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2458, allocations: 95.94 kB / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.246, allocations: 130.5 kB / 447.1 MB, free: 72 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2462, allocations: 153.4 kB / 447.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.2463, allocations: 24.22 kB / 447.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.2468, allocations: 241.4 kB / 447.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.2469, allocations: 65.05 kB / 447.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.2471, allocations: 155.4 kB / 447.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.2477, allocations: 449.5 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2478, allocations: 0.7969 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2478, allocations: 1.469 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.2478, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009208/0.2487, allocations: 0.5876 MB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2488, allocations: 13.89 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/0.2488, allocations: 62.2 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.249, allocations: 37.66 kB / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.2493, allocations: 277.3 kB / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2493, allocations: 23.28 kB / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.2494, allocations: 27.38 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2499, allocations: 265.8 kB / 449.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2499, allocations: 5.188 kB / 449.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.25, allocations: 9.281 kB / 449.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.25, allocations: 9.812 kB / 449.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.2504, allocations: 217.9 kB / 449.7 MB, free: 14.44 MB / 334.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.001818/0.2522, allocations: 1.448 MB / 451.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.2525, allocations: 141.2 kB / 451.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.2526, allocations: 76.52 kB / 451.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.2528, allocations: 171.8 kB / 451.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2528, allocations: 35.94 kB / 451.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.2528, allocations: 1.375 kB / 451.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001784/0.2546, allocations: 0.7197 MB / 452.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2547, allocations: 53.72 kB / 452.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.255, allocations: 274.9 kB / 452.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.255, allocations: 27.27 kB / 452.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2551, allocations: 156.3 kB / 452.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.2552, allocations: 80.36 kB / 452.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.2552, allocations: 52.28 kB / 452.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2554, allocations: 332.1 kB / 453.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2555, allocations: 85.06 kB / 453.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.2557, allocations: 130.8 kB / 453.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2561, allocations: 197.8 kB / 453.7 MB, free: 11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2561, allocations: 5.312 kB / 453.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004771/0.2566, allocations: 267.4 kB / 453.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2566, allocations: 5.5 kB / 453.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2566, allocations: 2.75 kB / 453.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2566, allocations: 2.75 kB / 453.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.2569, allocations: 68.22 kB / 454 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.257, allocations: 6.25 kB / 454 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.2571, allocations: 21.94 kB / 454 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2571, allocations: 15.75 kB / 454.1 MB, free: 10.8 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: 7 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.000175/0.2573, allocations: 151.7 kB / 454.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.2574, allocations: 23.56 kB / 454.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.2579, allocations: 242 kB / 454.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2579, allocations: 7.141 kB / 454.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2579, allocations: 3.938 kB / 454.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2579, allocations: 0 / 454.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.2589, allocations: 0.6303 MB / 455.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2589, allocations: 0 / 455.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.2591, allocations: 66.45 kB / 455.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2592, allocations: 5.531 kB / 455.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2592, allocations: 2.531 kB / 455.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2592, allocations: 1.219 kB / 455.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2592, allocations: 1.281 kB / 455.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.2598, allocations: 395.4 kB / 455.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2599, allocations: 125.9 kB / 455.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.26, allocations: 10.81 kB / 455.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2601, allocations: 12.7 kB / 455.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2602, allocations: 11.45 kB / 455.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2602, allocations: 4.688 kB / 455.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.2604, allocations: 198 kB / 455.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2604, allocations: 0.9688 kB / 455.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.2609, allocations: 111.2 kB / 456 MB, free: 9.348 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.001024/0.2619, allocations: 1.019 MB / 457 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.2623, allocations: 188.6 kB / 457.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2623, allocations: 0 / 457.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2625, allocations: 84.56 kB / 457.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.263, allocations: 75.3 kB / 457.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2664, allocations: 2.865 MB / 460.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2667, allocations: 0.7662 MB / 461 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.2669, allocations: 44.67 kB / 461.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.267, allocations: 85.41 kB / 461.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.267, allocations: 0 / 461.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.2928, allocations: 7.899 MB / 469 MB, free: 14.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.907, allocations: 7.781 kB / 469.1 MB, free: 14.67 MB / 350.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)