Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",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.001215/0.001215, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.155/1.155, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05007/0.05007, allocations: 11.84 MB / 281.6 MB, free: 9.465 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.001436/0.001436, allocations: 71.02 kB / 341.9 MB, free: 21.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06301/0.06445, allocations: 49.22 MB / 391.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003865/0.06834, allocations: 3.352 MB / 394.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.06971, allocations: 0.8539 MB / 395.4 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.0699, allocations: 4 kB / 395.4 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.07007, allocations: 59.38 kB / 395.4 MB, free: 344 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.07052, allocations: 194.7 kB / 395.6 MB, free: 148 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.07072, allocations: 99.81 kB / 395.7 MB, free: 48 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.07128, allocations: 0.6222 MB / 396.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.07161, allocations: 254.1 kB / 396.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.07186, allocations: 223.2 kB / 396.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.07217, allocations: 262.9 kB / 397.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.07224, allocations: 40 kB / 397.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.07237, allocations: 48 kB / 397.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.07247, allocations: 115.6 kB / 397.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.07271, allocations: 258.9 kB / 397.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.07317, allocations: 0.518 MB / 398 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.07318, allocations: 0 / 398 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.07319, allocations: 0 / 398 MB, free: 13.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.0732, allocations: 0 / 398 MB, free: 13.72 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009166/0.07412, allocations: 0.7095 MB / 398.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.07416, allocations: 11.89 kB / 398.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/0.07424, allocations: 82.7 kB / 398.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.07439, allocations: 52.38 kB / 398.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.07474, allocations: 338.4 kB / 399.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.07477, allocations: 32.94 kB / 399.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.07484, allocations: 40 kB / 399.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.0754, allocations: 382.4 kB / 399.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.07542, allocations: 3.906 kB / 399.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.07546, allocations: 19.98 kB / 399.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.07547, allocations: 12 kB / 399.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.07595, allocations: 291.8 kB / 400 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.0778, allocations: 1.715 MB / 401.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.0781, allocations: 154.7 kB / 401.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.07828, allocations: 84.81 kB / 401.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.07831, allocations: 3.984 kB / 401.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.07833, allocations: 38.56 kB / 402 MB, free: 9.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.07834, allocations: 0 / 402 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004237/0.07877, allocations: 227.5 kB / 402.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.0788, allocations: 55.41 kB / 402.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.07921, allocations: 425.5 kB / 402.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.07923, allocations: 37.58 kB / 402.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.07938, allocations: 235.7 kB / 402.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.07943, allocations: 59.11 kB / 403 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.0795, allocations: 57.59 kB / 403 MB, free: 8.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.07962, allocations: 354.7 kB / 403.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.07977, allocations: 77.38 kB / 403.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.07995, allocations: 154 kB / 403.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.08027, allocations: 256.4 kB / 403.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.08028, allocations: 7.938 kB / 403.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004395/0.08073, allocations: 288.8 kB / 404.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.08075, allocations: 11.94 kB / 404.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.08076, allocations: 4.438 kB / 404.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.08078, allocations: 8 kB / 404.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.08104, allocations: 67.89 kB / 404.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.08106, allocations: 4 kB / 404.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.08127, allocations: 51.45 kB / 404.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.08129, allocations: 16 kB / 404.3 MB, free: 6.969 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0001788/0.08148, allocations: 181.7 kB / 404.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.08154, allocations: 39.53 kB / 404.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.0819, allocations: 201.1 kB / 404.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.08191, allocations: 4 kB / 404.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.08192, allocations: 0 / 404.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.08193, allocations: 3.984 kB / 404.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.08276, allocations: 0.7229 MB / 405.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.08277, allocations: 4 kB / 405.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.08295, allocations: 39.92 kB / 405.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.08297, allocations: 3.938 kB / 405.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.08299, allocations: 11.98 kB / 405.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.08299, allocations: 0 / 405.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.083, allocations: 4 kB / 405.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.08345, allocations: 377.2 kB / 405.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.08358, allocations: 132.6 kB / 406 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.08364, allocations: 11.92 kB / 406 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.08381, allocations: 8.062 kB / 406 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.08386, allocations: 11.98 kB / 406 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.08387, allocations: 12 kB / 406.1 MB, free: 5.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.08417, allocations: 307.1 kB / 406.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08417, allocations: 0 / 406.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.08453, allocations: 91.84 kB / 406.4 MB, free: 4.691 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.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 (18): * Single equations (assignments): 18 * 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.0006769/0.08521, allocations: 0.926 MB / 407.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.08554, allocations: 188 kB / 407.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08555, allocations: 0 / 407.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.08567, allocations: 71.91 kB / 407.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.08623, allocations: 142.1 kB / 407.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.09021, allocations: 3.79 MB / 411.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.09055, allocations: 0.8192 MB / 412.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.09074, allocations: 64.16 kB / 412.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.0909, allocations: 123.4 kB / 412.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09091, allocations: 11.94 kB / 412.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.596/0.6869, allocations: 9.488 MB / 422.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.383/10.07, allocations: 3.938 kB / 422.1 MB, free: 4.855 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)