Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7489/0.7489, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 404.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 107.4 kB / 485.9 MB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.91 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1499, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02469/0.1747, allocations: 22.22 MB / 0.6638 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.1824, allocations: 5.257 MB / 0.669 GB, free: 9.863 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.1837, allocations: 19.88 kB / 0.669 GB, free: 9.844 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009821/0.1847, allocations: 254.5 kB / 0.6692 GB, free: 9.594 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.1873, allocations: 0.7995 MB / 0.67 GB, free: 8.793 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1893, allocations: 0.6523 MB / 0.6707 GB, free: 8.148 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.1915, allocations: 1.87 MB / 0.6725 GB, free: 6.273 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.1922, allocations: 454.2 kB / 0.6729 GB, free: 5.82 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1934, allocations: 0.5794 MB / 0.6735 GB, free: 5.238 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.1941, allocations: 485.7 kB / 0.6739 GB, free: 4.762 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.1942, allocations: 28 kB / 0.674 GB, free: 4.734 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1954, allocations: 0.5848 MB / 0.6745 GB, free: 4.148 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1956, allocations: 123.4 kB / 0.6747 GB, free: 4.027 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.1959, allocations: 338 kB / 0.675 GB, free: 3.695 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.1972, allocations: 1.024 MB / 0.676 GB, free: 2.668 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1972, allocations: 0 / 0.676 GB, free: 2.668 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1972, allocations: 0 / 0.676 GB, free: 2.668 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1972, allocations: 0 / 0.676 GB, free: 2.668 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001886/0.1991, allocations: 1.055 MB / 0.677 GB, free: 1.562 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1992, allocations: 8.031 kB / 0.677 GB, free: 1.555 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1993, allocations: 80 kB / 0.6771 GB, free: 1.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.2001, allocations: 0.566 MB / 0.6776 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2002, allocations: 32.66 kB / 0.6777 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.2002, allocations: 36 kB / 0.6777 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.2008, allocations: 310 kB / 0.678 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2008, allocations: 0 / 0.678 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.2009, allocations: 8 kB / 0.678 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.2009, allocations: 16.66 kB / 0.678 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.2015, allocations: 250.5 kB / 0.6783 GB, free: 232 kB / 474.7 MB 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.002526/0.204, allocations: 1.573 MB / 0.6798 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.2044, allocations: 190.4 kB / 0.68 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2046, allocations: 94.19 kB / 0.6801 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.205, allocations: 425.5 kB / 0.6805 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.205, allocations: 34.55 kB / 0.6805 GB, free: 13.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.205, allocations: 0 / 0.6805 GB, free: 13.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007605/0.2058, allocations: 331.2 kB / 0.6808 GB, free: 13.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2058, allocations: 51.41 kB / 0.6809 GB, free: 13.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.2066, allocations: 0.6488 MB / 0.6815 GB, free: 12.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.2067, allocations: 37.64 kB / 0.6815 GB, free: 12.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.2069, allocations: 304.3 kB / 0.6818 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.207, allocations: 67 kB / 0.6819 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.2071, allocations: 106 kB / 0.682 GB, free: 12.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2073, allocations: 378.7 kB / 0.6824 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.2076, allocations: 130.5 kB / 0.6825 GB, free: 11.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.208, allocations: 206.3 kB / 0.6827 GB, free: 11.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.2085, allocations: 293 kB / 0.683 GB, free: 11.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2085, allocations: 0 / 0.683 GB, free: 11.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007987/0.2093, allocations: 452.6 kB / 0.6834 GB, free: 10.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2093, allocations: 9.938 kB / 0.6834 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2093, allocations: 11.94 kB / 0.6834 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2094, allocations: 7.938 kB / 0.6834 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/0.2102, allocations: 135.8 kB / 0.6836 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006561/0.2109, allocations: 1.192 MB / 0.6847 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.2114, allocations: 55.56 kB / 0.6848 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2115, allocations: 15.98 kB / 0.6848 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004232/0.2119, allocations: 281 kB / 0.6851 GB, free: 8.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003201/0.2122, allocations: 202.2 kB / 0.6852 GB, free: 8.668 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004965/0.2127, allocations: 285.4 kB / 0.6855 GB, free: 8.371 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.2127, allocations: 0 / 0.6855 GB, free: 8.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007957/0.2135, allocations: 432.6 kB / 0.6859 GB, free: 7.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2136, allocations: 8 kB / 0.6859 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2136, allocations: 0 / 0.6859 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.2136, allocations: 4 kB / 0.6859 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.2141, allocations: 119.9 kB / 0.6861 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2141, allocations: 4 kB / 0.6861 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.2146, allocations: 51.84 kB / 0.6861 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.2146, allocations: 19.98 kB / 0.6861 GB, free: 7.738 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.2148, allocations: 205.4 kB / 0.6863 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.2149, allocations: 59.25 kB / 0.6864 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.2156, allocations: 321 kB / 0.6867 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2157, allocations: 4 kB / 0.6867 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2157, allocations: 3.938 kB / 0.6867 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2157, allocations: 0 / 0.6867 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.217, allocations: 0.9074 MB / 0.6876 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.217, allocations: 8.062 kB / 0.6876 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2173, allocations: 59.88 kB / 0.6876 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2173, allocations: 0 / 0.6876 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2173, allocations: 11.94 kB / 0.6877 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005588/0.2179, allocations: 1.184 MB / 0.6888 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2179, allocations: 0 / 0.6888 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007629/0.2255, allocations: 2.746 MB / 0.6915 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.2258, allocations: 168.2 kB / 0.6917 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.2259, allocations: 8 kB / 0.6917 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.2262, allocations: 28.03 kB / 0.6917 GB, free: 1.738 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.2263, allocations: 15.98 kB / 0.6917 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2264, allocations: 15.86 kB / 0.6917 GB, free: 1.707 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005616/0.2269, allocations: 451 kB / 0.6922 GB, free: 1.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2269, allocations: 0 / 0.6922 GB, free: 1.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001219/0.2282, allocations: 403.5 kB / 0.6925 GB, free: 0.875 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000569/0.2287, allocations: 258.1 kB / 0.6928 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2302, allocations: 0.5163 MB / 0.6933 GB, free: 108 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2303, allocations: 0 / 0.6933 GB, free: 108 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2645/0.4948, allocations: 123.9 kB / 0.6934 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.4966, allocations: 289 kB / 0.6937 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.4989, allocations: 1.403 MB / 0.6951 GB, free: 58.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.4994, allocations: 0.8946 MB / 0.6959 GB, free: 57.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005981/0.5, allocations: 122.5 kB / 0.696 GB, free: 57.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5002, allocations: 48.38 kB / 0.6961 GB, free: 57.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5002, allocations: 1.688 kB / 0.6961 GB, free: 57.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02437/0.5246, allocations: 11.26 MB / 0.7071 GB, free: 55.22 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)