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.001127/0.001127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001117/0.001117, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.131/1.131, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05161/0.05161, allocations: 11.84 MB / 281.3 MB, free: 9.594 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.001324/0.001324, allocations: 67.34 kB / 341.4 MB, free: 22.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0641/0.06544, allocations: 49.23 MB / 390.7 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002934/0.06838, allocations: 2.397 MB / 393 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00089/0.06929, allocations: 0.663 MB / 393.7 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.06939, allocations: 4 kB / 393.7 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.06945, allocations: 11.91 kB / 393.7 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.06972, allocations: 67.53 kB / 393.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.78e-05/0.06981, allocations: 27.97 kB / 393.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.07, allocations: 155.2 kB / 394 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.0701, allocations: 29.11 kB / 394 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.07021, allocations: 51.8 kB / 394.1 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.07031, allocations: 59.77 kB / 394.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.07033, allocations: 11.94 kB / 394.1 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.966e-05/0.0704, allocations: 23.92 kB / 394.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.07043, allocations: 19.92 kB / 394.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.07049, allocations: 63.67 kB / 394.2 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.07064, allocations: 115.8 kB / 394.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.07065, allocations: 0 / 394.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.07065, allocations: 0 / 394.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.07066, allocations: 4 kB / 394.3 MB, free: 1.23 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.0004837/0.07115, allocations: 444.7 kB / 394.8 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.07119, allocations: 11.89 kB / 394.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.07124, allocations: 38.75 kB / 394.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.07128, allocations: 12.83 kB / 394.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.07145, allocations: 208 kB / 395 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.07147, allocations: 8.375 kB / 395.1 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.07149, allocations: 7.938 kB / 395.1 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.07172, allocations: 101.6 kB / 395.2 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.07173, allocations: 0 / 395.2 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.07175, allocations: 0 / 395.2 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.07176, allocations: 4 kB / 395.2 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.07198, allocations: 91.88 kB / 395.3 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.07261, allocations: 0.5706 MB / 395.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.07281, allocations: 86.53 kB / 395.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.07293, allocations: 56.95 kB / 396 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.07295, allocations: 3.984 kB / 396 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.07298, allocations: 30.56 kB / 396 MB, free: 15.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.07298, allocations: 3.938 kB / 396 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001242/0.07423, allocations: 404.8 kB / 396.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.07429, allocations: 85.05 kB / 396.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.07439, allocations: 145.8 kB / 396.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.07441, allocations: 25.7 kB / 396.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.07446, allocations: 100.1 kB / 396.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.0745, allocations: 35.48 kB / 396.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.07455, allocations: 29.7 kB / 396.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.07464, allocations: 314.8 kB / 397.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.07481, allocations: 47.95 kB / 397.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.07498, allocations: 69.66 kB / 397.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.07532, allocations: 161 kB / 397.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.07533, allocations: 4 kB / 397.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003844/0.07572, allocations: 183 kB / 397.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.07575, allocations: 36.05 kB / 397.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.07576, allocations: 3.984 kB / 397.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.07578, allocations: 0 / 397.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.07594, allocations: 23.98 kB / 397.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.07596, allocations: 8.016 kB / 397.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.07608, allocations: 11.98 kB / 397.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.0761, allocations: 8 kB / 397.7 MB, free: 13.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/0.07619, allocations: 147.5 kB / 397.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.07623, allocations: 11.84 kB / 397.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.07668, allocations: 224.1 kB / 398 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.0767, allocations: 0 / 398 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0767, allocations: 0 / 398 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.07671, allocations: 4 kB / 398 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.07692, allocations: 217.6 kB / 398.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.07693, allocations: 3.938 kB / 398.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.07708, allocations: 35.91 kB / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.07709, allocations: 0 / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.07711, allocations: 4 kB / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.07711, allocations: 0 / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.07712, allocations: 0 / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.07753, allocations: 289 kB / 398.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.07761, allocations: 96.94 kB / 398.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.07764, allocations: 7.938 kB / 398.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.07778, allocations: 15.98 kB / 398.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.07782, allocations: 7.984 kB / 398.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.07784, allocations: 4 kB / 398.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.708e-05/0.07791, allocations: 115.2 kB / 398.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07792, allocations: 0 / 398.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.07817, allocations: 32 kB / 398.8 MB, free: 12.27 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 (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.0006512/0.07882, allocations: 0.8345 MB / 399.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.07924, allocations: 191.2 kB / 399.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.07925, allocations: 0 / 399.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.07946, allocations: 123.3 kB / 400 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.07976, allocations: 31.98 kB / 400 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.08177, allocations: 1.85 MB / 401.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.082, allocations: 0.7161 MB / 402.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.674e-05/0.08209, allocations: 17.39 kB / 402.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.08216, allocations: 43.36 kB / 402.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08217, allocations: 0 / 402.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.025/3.107, allocations: 3.361 MB / 406 MB, free: 4.988 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/3.107, allocations: 210.7 kB / 406.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/4.849, allocations: 112 / 406.2 MB, free: 4.73 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/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)