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.001073/0.001073, 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.001062/0.001062, allocations: 193.4 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.293/1.293, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05219/0.05219, allocations: 11.84 MB / 281.6 MB, free: 9.449 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.001391/0.001391, allocations: 71.7 kB / 341.9 MB, free: 21.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.0725, allocations: 49.23 MB / 391.2 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.00287/0.07541, allocations: 1.936 MB / 393.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.07763, allocations: 1.858 MB / 395 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.07773, allocations: 0 / 395 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.07796, allocations: 47.67 kB / 395 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.0782, allocations: 91.38 kB / 395.1 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.07882, allocations: 334.9 kB / 395.4 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.07899, allocations: 179.1 kB / 395.6 MB, free: 164 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.0791, allocations: 33.56 kB / 395.6 MB, free: 132 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.07917, allocations: 59.73 kB / 395.7 MB, free: 72 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.07927, allocations: 67.69 kB / 395.7 MB, free: 4 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.07931, allocations: 8.047 kB / 395.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.07973, allocations: 235.7 kB / 396 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.07976, allocations: 23.92 kB / 396 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.07983, allocations: 79.59 kB / 396.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.08019, allocations: 271.3 kB / 396.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.0802, allocations: 3.938 kB / 396.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08021, allocations: 4 kB / 396.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.08022, allocations: 0 / 396.4 MB, free: 15.39 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.0005043/0.08072, allocations: 470.8 kB / 396.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.08076, allocations: 11.89 kB / 396.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.08081, allocations: 46.73 kB / 396.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.08086, allocations: 16.75 kB / 396.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.08107, allocations: 227.9 kB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.08109, allocations: 4.375 kB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.08112, allocations: 11.94 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.08133, allocations: 129.6 kB / 397.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.08135, allocations: 0 / 397.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.08136, allocations: 0 / 397.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.08137, allocations: 4 kB / 397.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.08157, allocations: 119.9 kB / 397.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.08258, allocations: 0.9227 MB / 398.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.08271, allocations: 50.56 kB / 398.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.08277, allocations: 28.97 kB / 398.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.08289, allocations: 85.11 kB / 398.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.08292, allocations: 38.55 kB / 398.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.08293, allocations: 4 kB / 398.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002526/0.08318, allocations: 97.44 kB / 398.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.08323, allocations: 55.41 kB / 398.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.08341, allocations: 203.8 kB / 398.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.08343, allocations: 25.7 kB / 398.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.0835, allocations: 127.7 kB / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.08352, allocations: 19.8 kB / 399 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.08359, allocations: 25.7 kB / 399 MB, free: 12.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.08373, allocations: 334.8 kB / 399.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.0838, allocations: 23.98 kB / 399.4 MB, free: 12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.08387, allocations: 28 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.08398, allocations: 64.78 kB / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.08399, allocations: 0 / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.08418, allocations: 113.6 kB / 399.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.0842, allocations: 8 kB / 399.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.08421, allocations: 0 / 399.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.08423, allocations: 0 / 399.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.08432, allocations: 19.92 kB / 399.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.08434, allocations: 8.031 kB / 399.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.0844, allocations: 7.844 kB / 399.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.08442, allocations: 12.23 kB / 399.7 MB, free: 11.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.08451, allocations: 121.8 kB / 399.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.08455, allocations: 11.81 kB / 399.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.08476, allocations: 106.5 kB / 399.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.08477, allocations: 4 kB / 399.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08478, allocations: 4 kB / 399.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.08479, allocations: 96 / 399.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.0852, allocations: 399.1 kB / 400.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08521, allocations: 0 / 400.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.08526, allocations: 11.98 kB / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.08527, allocations: 4 kB / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.08529, allocations: 0 / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.08529, allocations: 0 / 400.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0853, allocations: 7.969 kB / 400.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.08548, allocations: 180.3 kB / 400.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.08556, allocations: 96.91 kB / 400.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.08559, allocations: 15.92 kB / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.08567, allocations: 0 / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.08569, allocations: 3.938 kB / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.0857, allocations: 4 kB / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.08582, allocations: 159 kB / 400.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08583, allocations: 3.938 kB / 400.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.08615, allocations: 83.92 kB / 400.8 MB, free: 10.43 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 (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.0005572/0.08672, allocations: 0.7912 MB / 401.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.08689, allocations: 59.92 kB / 401.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0869, allocations: 0 / 401.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.08696, allocations: 27.92 kB / 401.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.08733, allocations: 50.8 kB / 401.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.08904, allocations: 1.826 MB / 403.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.0893, allocations: 0.7085 MB / 404.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.08937, allocations: 25.53 kB / 404.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.08945, allocations: 39.42 kB / 404.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08946, allocations: 3.938 kB / 404.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.1094, allocations: 5.013 MB / 409.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.161, allocations: 3.953 kB / 409.4 MB, free: 1.762 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 & python3 -m fmpy simulate --output-file OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)