Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 114.8 kB / 16.42 MB, free: 6.445 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.001096/0.001096, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.261/1.261, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7581/0.7581, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.00113, allocations: 63.62 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1544, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0192/0.1736, allocations: 17.46 MB / 0.6824 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006543/0.1802, allocations: 4.919 MB / 0.6872 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.1807, allocations: 19.88 kB / 0.6872 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.1815, allocations: 254.4 kB / 0.6874 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1828, allocations: 0.6414 MB / 0.6881 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1844, allocations: 0.7295 MB / 0.6888 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000976/0.1854, allocations: 0.9741 MB / 0.6897 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.1858, allocations: 336.9 kB / 0.69 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.1864, allocations: 418.4 kB / 0.6904 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.1868, allocations: 306.6 kB / 0.6907 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.1868, allocations: 32 kB / 0.6908 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1879, allocations: 0.7292 MB / 0.6915 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.188, allocations: 139.5 kB / 0.6916 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1883, allocations: 246.6 kB / 0.6918 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.1893, allocations: 0.884 MB / 0.6927 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1893, allocations: 0 / 0.6927 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1893, allocations: 0 / 0.6927 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.1893, allocations: 0 / 0.6927 GB, free: 9.641 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001126/0.1904, allocations: 0.8759 MB / 0.6936 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1905, allocations: 17.05 kB / 0.6936 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.1906, allocations: 56.28 kB / 0.6936 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.1913, allocations: 472.8 kB / 0.6941 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1913, allocations: 24.56 kB / 0.6941 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.1914, allocations: 32 kB / 0.6941 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.1918, allocations: 278.2 kB / 0.6944 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1918, allocations: 0 / 0.6944 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.1919, allocations: 12 kB / 0.6944 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1919, allocations: 7.938 kB / 0.6944 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.1923, allocations: 198.1 kB / 0.6946 GB, free: 7.582 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.001682/0.194, allocations: 1.472 MB / 0.696 GB, free: 6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1943, allocations: 162.8 kB / 0.6962 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1945, allocations: 84.81 kB / 0.6963 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.1959, allocations: 1.272 MB / 0.6975 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1959, allocations: 38.56 kB / 0.6976 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1959, allocations: 3.938 kB / 0.6976 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005812/0.1965, allocations: 248.3 kB / 0.6978 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1965, allocations: 59.41 kB / 0.6979 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.1971, allocations: 0.5847 MB / 0.6984 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1972, allocations: 29.7 kB / 0.6985 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1974, allocations: 268.1 kB / 0.6987 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.1974, allocations: 51.28 kB / 0.6988 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.1975, allocations: 77.88 kB / 0.6988 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1977, allocations: 358.8 kB / 0.6992 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1978, allocations: 81.94 kB / 0.6993 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.1981, allocations: 210.7 kB / 0.6995 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1985, allocations: 243.6 kB / 0.6997 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1985, allocations: 96 / 0.6997 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005368/0.1991, allocations: 316.8 kB / 0.7 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1991, allocations: 4 kB / 0.7 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1991, allocations: 4 kB / 0.7 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1991, allocations: 4 kB / 0.7 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.1994, allocations: 67.89 kB / 0.7001 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1994, allocations: 4 kB / 0.7001 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1997, allocations: 47.52 kB / 0.7001 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1998, allocations: 16 kB / 0.7001 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002934/0.2001, allocations: 224.7 kB / 0.7003 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.2003, allocations: 205.6 kB / 0.7005 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003575/0.2007, allocations: 231.5 kB / 0.7008 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.2007, allocations: 0 / 0.7008 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005184/0.2012, allocations: 308.9 kB / 0.7011 GB, free: 424 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.2013, allocations: 4 kB / 0.7011 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.2013, allocations: 4 kB / 0.7011 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.2013, allocations: 4 kB / 0.7011 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2015, allocations: 63.91 kB / 0.7011 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2015, allocations: 7.938 kB / 0.7011 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2018, allocations: 35.81 kB / 0.7012 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.2019, allocations: 16 kB / 0.7012 GB, free: 288 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001088/0.202, allocations: 196.3 kB / 0.7014 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.2021, allocations: 55.28 kB / 0.7014 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.2026, allocations: 255.3 kB / 0.7017 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2026, allocations: 96 / 0.7017 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2026, allocations: 3.938 kB / 0.7017 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2027, allocations: 136.5 kB / 0.7018 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.2028, allocations: 12 kB / 0.7018 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.203, allocations: 11.92 kB / 0.7018 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.203, allocations: 11.98 kB / 0.7018 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004268/0.2035, allocations: 280.8 kB / 0.7021 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004729/0.204, allocations: 412.1 kB / 0.7025 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001601/0.2041, allocations: 81.75 kB / 0.7026 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004192/0.2046, allocations: 422.8 kB / 0.703 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Backend: time 5.01e-07/0.2046, allocations: 0 / 0.703 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.2068, allocations: 0.8874 MB / 0.7038 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 0.001957/0.2087, allocations: 1.396 MB / 0.7052 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Templates: time 0.01841/0.2272, allocations: 11.9 MB / 0.7168 GB, free: 476 kB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)