Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",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.0008371/0.0008371, allocations: 100 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.0009006/0.0009007, 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.32/1.32, allocations: 205.4 MB / 222.1 MB, free: 5.52 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 / 282.2 MB, free: 9.363 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.0005776/0.0005777, allocations: 20.22 kB / 343 MB, free: 22.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08329, allocations: 50.21 MB / 393.2 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002114/0.08544, allocations: 1.876 MB / 395.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00091/0.08637, allocations: 0.6207 MB / 395.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.08646, allocations: 4 kB / 395.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.08651, allocations: 15.84 kB / 395.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.08683, allocations: 107.6 kB / 395.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.08694, allocations: 19.97 kB / 395.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.08711, allocations: 103.8 kB / 395.9 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.08724, allocations: 25.11 kB / 396 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.08737, allocations: 55.77 kB / 396 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.08748, allocations: 51.83 kB / 396.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.0875, allocations: 4 kB / 396.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.08757, allocations: 12 kB / 396.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.0876, allocations: 11.92 kB / 396.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.08765, allocations: 49.64 kB / 396.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.08779, allocations: 87.97 kB / 396.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.0878, allocations: 7.938 kB / 396.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08781, allocations: 0 / 396.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.08782, allocations: 0 / 396.2 MB, free: 1.055 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005554/0.08838, allocations: 432.6 kB / 396.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.08843, allocations: 12.03 kB / 396.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.08847, allocations: 34.56 kB / 396.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.08851, allocations: 15.81 kB / 396.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.08878, allocations: 210.8 kB / 396.9 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.0888, allocations: 8 kB / 396.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.08882, allocations: 12 kB / 396.9 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.0891, allocations: 97.64 kB / 397 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.08912, allocations: 4 kB / 397 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.08914, allocations: 7.953 kB / 397.1 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.08915, allocations: 0 / 397.1 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.0894, allocations: 103.9 kB / 397.2 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007244/0.09014, allocations: 0.5745 MB / 397.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.09037, allocations: 98.53 kB / 397.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.0904, allocations: 3.984 kB / 397.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.09043, allocations: 34.56 kB / 397.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.09044, allocations: 4 kB / 397.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001434/0.09188, allocations: 476.5 kB / 398.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.09193, allocations: 85.23 kB / 398.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.09205, allocations: 138.4 kB / 398.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.09207, allocations: 29.7 kB / 398.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.09213, allocations: 104.1 kB / 398.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.09218, allocations: 36.11 kB / 398.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.09219, allocations: 0 / 398.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.0923, allocations: 318.8 kB / 399 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.09248, allocations: 59.95 kB / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.09266, allocations: 73.61 kB / 399.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.09288, allocations: 89.61 kB / 399.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.09289, allocations: 0 / 399.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004716/0.09337, allocations: 203.1 kB / 399.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.09341, allocations: 33.64 kB / 399.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.09343, allocations: 0 / 399.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.09344, allocations: 4 kB / 399.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.09363, allocations: 40 kB / 399.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.09365, allocations: 0 / 399.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.09377, allocations: 19.94 kB / 399.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.0938, allocations: 7.984 kB / 399.5 MB, free: 13.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001184/0.09392, allocations: 147.5 kB / 399.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.09396, allocations: 7.906 kB / 399.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.09448, allocations: 240.1 kB / 399.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.09449, allocations: 3.984 kB / 399.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.0945, allocations: 0 / 399.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.09451, allocations: 0 / 399.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.09474, allocations: 225.5 kB / 400.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.09475, allocations: 0 / 400.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.09491, allocations: 35.92 kB / 400.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.09493, allocations: 7.984 kB / 400.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.09495, allocations: 4 kB / 400.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.09495, allocations: 0 / 400.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09496, allocations: 0 / 400.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.09545, allocations: 309 kB / 400.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.09554, allocations: 104.9 kB / 400.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.09557, allocations: 0 / 400.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.09572, allocations: 19.98 kB / 400.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.09578, allocations: 15.98 kB / 400.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.0958, allocations: 4 kB / 400.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.427e-05/0.09589, allocations: 115.2 kB / 400.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09589, allocations: 0 / 400.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.09615, allocations: 28 kB / 400.8 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0007356/0.09689, allocations: 0.8581 MB / 401.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.09734, allocations: 191.2 kB / 401.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.09735, allocations: 0 / 401.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.09757, allocations: 135.3 kB / 402 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.09785, allocations: 36.17 kB / 402 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.09932, allocations: 1.02 MB / 403 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.09959, allocations: 0.7087 MB / 403.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.098e-05/0.09968, allocations: 21.06 kB / 403.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.09976, allocations: 35.42 kB / 403.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09976, allocations: 0 / 403.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.1118, allocations: 3.098 MB / 406.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.112, allocations: 194 kB / 407.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.675, allocations: 0 / 407.1 MB, free: 5.652 MB / 302.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) Environment - environmentSimulation: