Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",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.001172/0.001172, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00133/0.00133, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05182/0.05182, allocations: 11.84 MB / 282.2 MB, free: 9.375 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.0005492/0.0005492, allocations: 16.22 kB / 343 MB, free: 22.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07803/0.07859, allocations: 50.21 MB / 393.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002082/0.08072, allocations: 1.729 MB / 394.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.0829, allocations: 1.681 MB / 396.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.08301, allocations: 7.938 kB / 396.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.08317, allocations: 39.8 kB / 396.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.0835, allocations: 115.7 kB / 396.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.08403, allocations: 251.3 kB / 397 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.08419, allocations: 127.7 kB / 397.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.0843, allocations: 25.55 kB / 397.2 MB, free: 152 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.08437, allocations: 55.78 kB / 397.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.08446, allocations: 63.75 kB / 397.3 MB, free: 32 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.08449, allocations: 8 kB / 397.3 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.08486, allocations: 207.7 kB / 397.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.08489, allocations: 19.92 kB / 397.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.08494, allocations: 57.58 kB / 397.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.08519, allocations: 199.9 kB / 397.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.08521, allocations: 4 kB / 397.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08521, allocations: 0 / 397.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.08522, allocations: 0 / 397.8 MB, free: 15.54 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000434/0.08566, allocations: 438.6 kB / 398.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.0857, allocations: 12.03 kB / 398.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.08575, allocations: 46.55 kB / 398.3 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.08579, allocations: 15.81 kB / 398.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.086, allocations: 214.8 kB / 398.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.08602, allocations: 4 kB / 398.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.08604, allocations: 16 kB / 398.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.08626, allocations: 117.6 kB / 398.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.08627, allocations: 3.938 kB / 398.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.08629, allocations: 0 / 398.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.0863, allocations: 4 kB / 398.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.0865, allocations: 127.8 kB / 398.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.08756, allocations: 0.9265 MB / 399.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.08769, allocations: 54.55 kB / 399.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.0878, allocations: 85.23 kB / 399.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.08784, allocations: 38.55 kB / 399.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.08784, allocations: 0 / 399.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002404/0.08809, allocations: 101.5 kB / 399.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.08813, allocations: 51.41 kB / 400 MB, free: 13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.08831, allocations: 207.7 kB / 400.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.08833, allocations: 25.7 kB / 400.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.0884, allocations: 116.1 kB / 400.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.08842, allocations: 19.73 kB / 400.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.08844, allocations: 4 kB / 400.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.08853, allocations: 326.8 kB / 400.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.0886, allocations: 31.98 kB / 400.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.08866, allocations: 27.98 kB / 400.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.08872, allocations: 28 kB / 400.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08873, allocations: 0 / 400.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.08891, allocations: 113.4 kB / 400.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.08893, allocations: 10.66 kB / 400.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.08894, allocations: 3.938 kB / 400.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.08896, allocations: 0 / 400.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.08906, allocations: 20.52 kB / 400.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.08907, allocations: 0 / 400.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.08914, allocations: 15.78 kB / 400.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.08916, allocations: 15.97 kB / 400.9 MB, free: 12.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.08925, allocations: 125.8 kB / 401.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.08929, allocations: 11.81 kB / 401.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.08949, allocations: 94.66 kB / 401.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.08951, allocations: 4 kB / 401.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.08952, allocations: 0 / 401.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.08952, allocations: 4 kB / 401.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.08993, allocations: 395.2 kB / 401.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.08994, allocations: 0 / 401.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.09, allocations: 11.98 kB / 401.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.09001, allocations: 7.938 kB / 401.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.09002, allocations: 0 / 401.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.09003, allocations: 0 / 401.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09003, allocations: 48 / 401.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.09021, allocations: 202 kB / 401.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.09029, allocations: 104.8 kB / 401.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.09032, allocations: 7.938 kB / 401.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.09041, allocations: 0 / 401.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.09043, allocations: 7.984 kB / 401.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.09044, allocations: 4 kB / 401.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.09056, allocations: 155 kB / 402 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09057, allocations: 0 / 402 MB, free: 10.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.0909, allocations: 87.88 kB / 402.1 MB, free: 10.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005956/0.09151, allocations: 0.8735 MB / 403 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.09167, allocations: 67.91 kB / 403.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09168, allocations: 0 / 403.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.09173, allocations: 19.98 kB / 403.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.09201, allocations: 44 kB / 403.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.0933, allocations: 0.8584 MB / 404 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.09357, allocations: 0.7205 MB / 404.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.09365, allocations: 25.66 kB / 404.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.09372, allocations: 39.42 kB / 404.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09373, allocations: 0 / 404.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.1183, allocations: 4.664 MB / 409.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.1187, allocations: 189.8 kB / 409.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.731, allocations: 4 kB / 409.6 MB, free: 3.09 MB / 302.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) Environment - environmentSimulation: