Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001184/0.001185, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8109/0.8109, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 70.77 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01908/0.179, allocations: 15.54 MB / 0.6755 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006482/0.1856, allocations: 4.327 MB / 0.6797 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.1863, allocations: 19.88 kB / 0.6798 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1874, allocations: 270.3 kB / 0.68 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.1892, allocations: 0.6287 MB / 0.6806 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.1911, allocations: 0.7052 MB / 0.6813 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1925, allocations: 1.044 MB / 0.6823 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005785/0.1931, allocations: 335.8 kB / 0.6827 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.194, allocations: 426.3 kB / 0.6831 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.1946, allocations: 326.5 kB / 0.6834 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1948, allocations: 32 kB / 0.6834 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.196, allocations: 0.6317 MB / 0.684 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1961, allocations: 95.61 kB / 0.6841 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.1964, allocations: 226.7 kB / 0.6843 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1976, allocations: 0.775 MB / 0.6851 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1976, allocations: 0 / 0.6851 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1977, allocations: 0 / 0.6851 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.1977, allocations: 0 / 0.6851 GB, free: 0.832 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001362/0.199, allocations: 0.8254 MB / 0.6859 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1991, allocations: 11.97 kB / 0.6859 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1992, allocations: 52.28 kB / 0.686 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.2, allocations: 444.5 kB / 0.6864 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2, allocations: 20.44 kB / 0.6864 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.2001, allocations: 28 kB / 0.6864 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.2005, allocations: 215.2 kB / 0.6866 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2005, allocations: 0 / 0.6866 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2005, allocations: 12 kB / 0.6866 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2006, allocations: 4 kB / 0.6866 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2009, allocations: 169.6 kB / 0.6868 GB, free: 14.97 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2026, allocations: 0.9456 MB / 0.6877 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.2029, allocations: 126.6 kB / 0.6879 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.203, allocations: 84.73 kB / 0.6879 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.2033, allocations: 332.4 kB / 0.6883 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.2034, allocations: 30.56 kB / 0.6883 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.2034, allocations: 0 / 0.6883 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006311/0.204, allocations: 240.4 kB / 0.6885 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.204, allocations: 51.41 kB / 0.6886 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.2045, allocations: 482 kB / 0.689 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.2046, allocations: 33.7 kB / 0.6891 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2047, allocations: 224.6 kB / 0.6893 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.2048, allocations: 47.36 kB / 0.6893 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.2049, allocations: 65.59 kB / 0.6894 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.205, allocations: 354.7 kB / 0.6897 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2052, allocations: 80.75 kB / 0.6898 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2055, allocations: 151.1 kB / 0.6899 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2058, allocations: 168 kB / 0.6901 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2058, allocations: 0 / 0.6901 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000505/0.2063, allocations: 247.2 kB / 0.6903 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2064, allocations: 11.98 kB / 0.6903 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2064, allocations: 0 / 0.6903 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2064, allocations: 0 / 0.6903 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2066, allocations: 43.97 kB / 0.6904 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2067, allocations: 3.938 kB / 0.6904 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.207, allocations: 43.67 kB / 0.6904 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.207, allocations: 19.92 kB / 0.6904 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002898/0.2073, allocations: 189 kB / 0.6906 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002435/0.2076, allocations: 169.2 kB / 0.6908 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003081/0.2079, allocations: 160.2 kB / 0.6909 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.2079, allocations: 4.188 kB / 0.6909 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005014/0.2084, allocations: 257.1 kB / 0.6912 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2084, allocations: 7.938 kB / 0.6912 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2084, allocations: 4 kB / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.2084, allocations: 0 / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2086, allocations: 47.91 kB / 0.6912 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.2087, allocations: 4 kB / 0.6913 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.209, allocations: 31.88 kB / 0.6913 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.209, allocations: 16 kB / 0.6913 GB, free: 10.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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 0.0001101/0.2091, allocations: 192.2 kB / 0.6915 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.2092, allocations: 47.38 kB / 0.6915 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.2097, allocations: 248.1 kB / 0.6918 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2098, allocations: 3.984 kB / 0.6918 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2098, allocations: 4 kB / 0.6918 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2099, allocations: 128.6 kB / 0.6919 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.21, allocations: 7.938 kB / 0.6919 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.2102, allocations: 15.98 kB / 0.6919 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.2102, allocations: 7.984 kB / 0.6919 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004513/0.2107, allocations: 278.7 kB / 0.6922 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004677/0.2112, allocations: 402 kB / 0.6926 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001652/0.2113, allocations: 71.95 kB / 0.6926 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003345/0.2117, allocations: 334.9 kB / 0.693 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of Backend: time 5.21e-07/0.2117, allocations: 0 / 0.693 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.2139, allocations: 0.8109 MB / 0.6938 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001822/0.2157, allocations: 1.238 MB / 0.695 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of Templates: time 0.01739/0.2331, allocations: 9.815 MB / 0.7045 GB, free: 12.74 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)