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.005339/0.005339, allocations: 100.6 kB / 15.73 MB, free: 5.562 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.001101/0.001102, allocations: 198.4 kB / 16.67 MB, free: 5.504 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.208/1.208, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05414/0.05414, allocations: 11.85 MB / 281.8 MB, free: 224 kB / 222.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.001427/0.001428, allocations: 68.78 kB / 391.8 MB, free: 45.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0753/0.07673, allocations: 49.23 MB / 441.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002396/0.07916, allocations: 2.085 MB / 443.1 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008303/0.08001, allocations: 0.6203 MB / 443.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.0801, allocations: 4 kB / 443.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.08016, allocations: 11.86 kB / 443.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.08046, allocations: 83.45 kB / 443.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.08057, allocations: 31.95 kB / 443.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.08079, allocations: 147.2 kB / 444 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.08091, allocations: 35.89 kB / 444.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.08103, allocations: 55.72 kB / 444.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.08114, allocations: 63.77 kB / 444.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.08117, allocations: 12 kB / 444.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.08124, allocations: 12 kB / 444.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.08127, allocations: 19.92 kB / 444.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.08135, allocations: 67.66 kB / 444.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.08152, allocations: 112.5 kB / 444.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.08153, allocations: 0 / 444.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08154, allocations: 0 / 444.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.08155, allocations: 0 / 444.4 MB, free: 15.2 MB / 334.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.0005567/0.08211, allocations: 448.7 kB / 444.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.08217, allocations: 15.89 kB / 444.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.08221, allocations: 42.73 kB / 444.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.08225, allocations: 8.844 kB / 444.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.08249, allocations: 204 kB / 445.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.08251, allocations: 8.375 kB / 445.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.08254, allocations: 7.938 kB / 445.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.08278, allocations: 112.8 kB / 445.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.0828, allocations: 3.938 kB / 445.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.08282, allocations: 0 / 445.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.08283, allocations: 8 kB / 445.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.08306, allocations: 79.94 kB / 445.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.0838, allocations: 0.5745 MB / 445.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.08401, allocations: 94.47 kB / 446 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.08414, allocations: 48.83 kB / 446 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.08416, allocations: 0 / 446 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.08418, allocations: 30.56 kB / 446.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.08419, allocations: 0 / 446.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001355/0.08555, allocations: 408.4 kB / 446.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.08561, allocations: 89.05 kB / 446.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.08572, allocations: 151.4 kB / 446.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.08576, allocations: 29.7 kB / 446.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.08582, allocations: 96.12 kB / 446.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.08586, allocations: 39.39 kB / 446.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.08591, allocations: 29.7 kB / 446.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.08603, allocations: 318.8 kB / 447.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.0862, allocations: 47.95 kB / 447.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.08637, allocations: 61.67 kB / 447.3 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.08671, allocations: 169 kB / 447.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.08672, allocations: 0.8438 kB / 447.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003907/0.08711, allocations: 183.1 kB / 447.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.08715, allocations: 31.89 kB / 447.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.08717, allocations: 4.094 kB / 447.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.08719, allocations: 3.938 kB / 447.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.08737, allocations: 28 kB / 447.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.08738, allocations: 4 kB / 447.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.0875, allocations: 15.98 kB / 447.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.08752, allocations: 0 / 447.7 MB, free: 11.54 MB / 334.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 0.0001316/0.08766, allocations: 151.5 kB / 447.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.0877, allocations: 15.84 kB / 447.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.08817, allocations: 207.9 kB / 448.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.08819, allocations: 0 / 448.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.08819, allocations: 0 / 448.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.08821, allocations: 3.984 kB / 448.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.08843, allocations: 221.5 kB / 448.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.08844, allocations: 3.938 kB / 448.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.08859, allocations: 27.92 kB / 448.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0886, allocations: 8 kB / 448.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.08862, allocations: 3.984 kB / 448.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.08863, allocations: 3.984 kB / 448.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.08863, allocations: 0 / 448.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.08907, allocations: 288.8 kB / 448.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.08915, allocations: 108.8 kB / 448.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.08919, allocations: 3.938 kB / 448.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.08933, allocations: 23.97 kB / 448.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.08938, allocations: 7.984 kB / 448.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.0894, allocations: 8 kB / 448.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.08948, allocations: 111.2 kB / 448.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08948, allocations: 0 / 448.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.08974, allocations: 32 kB / 448.9 MB, free: 10.21 MB / 334.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.0007133/0.09046, allocations: 0.8388 MB / 449.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.09087, allocations: 175.2 kB / 450 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.09088, allocations: 0 / 450 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.09109, allocations: 123.3 kB / 450.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.09142, allocations: 27.97 kB / 450.1 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.09354, allocations: 1.817 MB / 451.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.09379, allocations: 0.7045 MB / 452.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.09387, allocations: 21.02 kB / 452.6 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.09394, allocations: 35.53 kB / 452.7 MB, free: 6.309 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09395, allocations: 3.938 kB / 452.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1138, allocations: 3.634 MB / 456.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.28, allocations: 7.984 kB / 456.3 MB, free: 2.715 MB / 334.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)