Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.091/1.091, allocations: 175.7 MB / 480.2 MB, free: 2.762 MB / 366.1 MB " [Timeout remaining time 179] 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 68.42 kB / 0.6684 GB, free: 10.65 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.203, allocations: 94.53 MB / 0.7607 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01925/0.2223, allocations: 15.76 MB / 0.7761 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007075/0.2293, allocations: 4.33 MB / 0.7803 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.23, allocations: 15.88 kB / 0.7803 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.231, allocations: 274.3 kB / 0.7806 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.2327, allocations: 0.618 MB / 0.7812 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.2348, allocations: 0.7208 MB / 0.7819 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.2362, allocations: 1.017 MB / 0.7829 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.2367, allocations: 271.8 kB / 0.7832 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009218/0.2376, allocations: 478.1 kB / 0.7836 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.2381, allocations: 322.6 kB / 0.7839 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.2382, allocations: 31.94 kB / 0.7839 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.2396, allocations: 0.6317 MB / 0.7846 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.2397, allocations: 107.5 kB / 0.7847 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.24, allocations: 222.8 kB / 0.7849 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.2413, allocations: 0.7588 MB / 0.7856 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2413, allocations: 4 kB / 0.7856 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2413, allocations: 0 / 0.7856 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.2413, allocations: 0 / 0.7856 GB, free: 6.633 MB / 0.5919 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.001359/0.2426, allocations: 0.836 MB / 0.7864 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2427, allocations: 12.03 kB / 0.7865 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2428, allocations: 56.61 kB / 0.7865 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.2435, allocations: 429.1 kB / 0.7869 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.2435, allocations: 24.38 kB / 0.7869 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.2436, allocations: 28 kB / 0.787 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.244, allocations: 211.2 kB / 0.7872 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.244, allocations: 4 kB / 0.7872 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2441, allocations: 12 kB / 0.7872 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2441, allocations: 4 kB / 0.7872 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2445, allocations: 165.6 kB / 0.7873 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2462, allocations: 0.9421 MB / 0.7883 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.2465, allocations: 122.5 kB / 0.7884 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2467, allocations: 72.75 kB / 0.7884 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.247, allocations: 336.4 kB / 0.7888 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.2471, allocations: 38.56 kB / 0.7888 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.2471, allocations: 0 / 0.7888 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0006897/0.2478, allocations: 241.3 kB / 0.789 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.2479, allocations: 63.33 kB / 0.7891 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.2485, allocations: 453.9 kB / 0.7895 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2485, allocations: 29.7 kB / 0.7896 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2487, allocations: 228.7 kB / 0.7898 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.2488, allocations: 59.58 kB / 0.7898 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2489, allocations: 53.7 kB / 0.7899 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.2491, allocations: 354.7 kB / 0.7902 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2493, allocations: 72.81 kB / 0.7903 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.2496, allocations: 155.5 kB / 0.7904 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.25, allocations: 168 kB / 0.7906 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.25, allocations: 0 / 0.7906 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005647/0.2505, allocations: 259 kB / 0.7908 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2506, allocations: 4 kB / 0.7909 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2506, allocations: 0 / 0.7909 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2506, allocations: 4.094 kB / 0.7909 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.2508, allocations: 47.84 kB / 0.7909 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2508, allocations: 8 kB / 0.7909 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.2511, allocations: 39.75 kB / 0.7909 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.2512, allocations: 12.09 kB / 0.791 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003157/0.2515, allocations: 188.1 kB / 0.7911 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002642/0.2518, allocations: 160.6 kB / 0.7913 GB, free: 436 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003511/0.2521, allocations: 175 kB / 0.7915 GB, free: 248 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.2521, allocations: 4 kB / 0.7915 GB, free: 244 kB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005236/0.2526, allocations: 245.3 kB / 0.7917 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2527, allocations: 8 kB / 0.7917 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.2527, allocations: 0 / 0.7917 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/0.2527, allocations: 0 / 0.7917 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2529, allocations: 59.8 kB / 0.7918 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2529, allocations: 4 kB / 0.7918 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.2532, allocations: 39.92 kB / 0.7918 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2532, allocations: 7.984 kB / 0.7918 GB, free: 15.88 MB / 0.6075 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.00017/0.2534, allocations: 200.1 kB / 0.792 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.2535, allocations: 39.72 kB / 0.792 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.2542, allocations: 255 kB / 0.7923 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2542, allocations: 0 / 0.7923 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2542, allocations: 0 / 0.7923 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2542, allocations: 3.938 kB / 0.7923 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.2555, allocations: 0.6966 MB / 0.793 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.2555, allocations: 8.219 kB / 0.793 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2556, allocations: 27.92 kB / 0.793 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.2556, allocations: 7.938 kB / 0.793 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2556, allocations: 4 kB / 0.793 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2556, allocations: 4 kB / 0.793 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.2556, allocations: 3.984 kB / 0.793 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.2562, allocations: 350.4 kB / 0.7934 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2564, allocations: 132.8 kB / 0.7935 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.2564, allocations: 4 kB / 0.7935 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.2566, allocations: 15.97 kB / 0.7935 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.2567, allocations: 19.98 kB / 0.7935 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2567, allocations: 4 kB / 0.7935 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003999/0.2571, allocations: 327.1 kB / 0.7938 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2571, allocations: 3.938 kB / 0.7938 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007295/0.2578, allocations: 195.5 kB / 0.794 GB, free: 13.48 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001769/0.2596, allocations: 487.5 kB / 0.7945 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008137/0.2604, allocations: 263.7 kB / 0.7947 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2604, allocations: 4.125 kB / 0.7947 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.2606, allocations: 83.83 kB / 0.7948 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2617, allocations: 194 kB / 0.795 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2634, allocations: 0.7004 MB / 0.7957 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.264, allocations: 0.823 MB / 0.7965 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000323/0.2643, allocations: 91.45 kB / 0.7966 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.2644, allocations: 39.44 kB / 0.7966 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of SimCode: time 1.232e-06/0.2644, allocations: 0 / 0.7966 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Templates: time 0.01905/0.2835, allocations: 8.573 MB / 0.805 GB, free: 2.441 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.567301739938557]