Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 158.6 MB / 186.1 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2755/0.2755, allocations: 36.34 MB / 274.7 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.6e-05, allocations: 2.312 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5136/0.5137, allocations: 246 MB / 0.585 GB, free: 5.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.524, allocations: 4.868 MB / 0.5898 GB, free: 288 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.5257, allocations: 43.62 kB / 0.5898 GB, free: 244 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.5289, allocations: 0.9778 MB / 0.5908 GB, free: 15.25 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.5335, allocations: 1.525 MB / 0.5923 GB, free: 13.72 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007387/0.5408, allocations: 2.539 MB / 0.5948 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007658/0.5485, allocations: 4.448 MB / 0.5991 GB, free: 6.707 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.551, allocations: 1.164 MB / 0.6002 GB, free: 5.508 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.5565, allocations: 2.236 MB / 0.6024 GB, free: 3.266 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.5595, allocations: 1.328 MB / 0.6037 GB, free: 1.934 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006559/0.5601, allocations: 200 kB / 0.6039 GB, free: 1.738 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.5647, allocations: 1.546 MB / 0.6054 GB, free: 192 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2269/0.7915, allocations: 0.9732 MB / 0.6064 GB, free: 9.586 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.7937, allocations: 0.9754 MB / 0.6073 GB, free: 9.586 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006701/0.8004, allocations: 3.698 MB / 0.6109 GB, free: 9.586 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.8004, allocations: 2.25 kB / 0.6109 GB, free: 9.586 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.8004, allocations: 0.9062 kB / 0.6109 GB, free: 9.586 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.8005, allocations: 1.062 kB / 0.6109 GB, free: 9.586 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: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.006255/0.8067, allocations: 2.792 MB / 0.6137 GB, free: 8.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8068, allocations: 7.969 kB / 0.6137 GB, free: 8.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.809, allocations: 0.655 MB / 0.6143 GB, free: 8.363 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.8109, allocations: 1.032 MB / 0.6153 GB, free: 8.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.811, allocations: 135 kB / 0.6154 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.8113, allocations: 197.8 kB / 0.6156 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.8147, allocations: 3.095 MB / 0.6187 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.8148, allocations: 0 / 0.6187 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.815, allocations: 77.81 kB / 0.6187 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.815, allocations: 40.25 kB / 0.6188 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.8177, allocations: 1.298 MB / 0.62 GB, free: 6.246 MB / 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.01079/0.8285, allocations: 4.807 MB / 0.6247 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.8321, allocations: 1.254 MB / 0.626 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009275/0.833, allocations: 452.4 kB / 0.6264 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.8331, allocations: 32.59 kB / 0.6264 GB, free: 5.148 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.8331, allocations: 62.3 kB / 0.6265 GB, free: 5.102 MB / 474.7 MB Notification: Performance of pre-optimization done (n=100): time 3.496e-06/0.8331, allocations: 6.859 kB / 0.6265 GB, free: 5.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=100): time 0.01342/0.8465, allocations: 3.055 MB / 0.6295 GB, free: 4.941 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.8466, allocations: 116.6 kB / 0.6296 GB, free: 4.816 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.8485, allocations: 1.272 MB / 0.6308 GB, free: 4.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.8488, allocations: 55.2 kB / 0.6309 GB, free: 4.547 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.8494, allocations: 0.961 MB / 0.6318 GB, free: 4.074 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.8498, allocations: 375.2 kB / 0.6322 GB, free: 3.844 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005304/0.8503, allocations: 316 kB / 0.6325 GB, free: 3.812 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006523/0.851, allocations: 485.2 kB / 0.6329 GB, free: 19.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.8521, allocations: 465 kB / 0.6334 GB, free: 19.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.8534, allocations: 1.05 MB / 0.6344 GB, free: 18.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.8558, allocations: 1.546 MB / 0.6359 GB, free: 17.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.8558, allocations: 2.812 kB / 0.6359 GB, free: 17.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004124/0.8599, allocations: 1.837 MB / 0.6377 GB, free: 17.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.86, allocations: 11.19 kB / 0.6377 GB, free: 17.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.86, allocations: 15.41 kB / 0.6377 GB, free: 17.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.8701, allocations: 1.528 MB / 0.6392 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.8715, allocations: 315.1 kB / 0.6395 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007542/0.879, allocations: 8.697 MB / 0.648 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.8811, allocations: 209.8 kB / 0.6482 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.8813, allocations: 79.36 kB / 0.6483 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001694/0.883, allocations: 0.6483 MB / 0.6489 GB, free: 9.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001314/0.8843, allocations: 1.051 MB / 0.65 GB, free: 8.832 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002271/0.8866, allocations: 1.494 MB / 0.6514 GB, free: 8.078 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.697e-05/0.8866, allocations: 3.281 kB / 0.6514 GB, free: 8.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004019/0.8906, allocations: 1.644 MB / 0.653 GB, free: 7.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.8907, allocations: 13.14 kB / 0.653 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.8907, allocations: 17.48 kB / 0.653 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/0.8915, allocations: 207.8 kB / 0.6532 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.893, allocations: 391.8 kB / 0.6536 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009506/0.9025, allocations: 10.99 MB / 0.6644 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.9045, allocations: 183.4 kB / 0.6645 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.9048, allocations: 77.2 kB / 0.6646 GB, free: 13.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,18), (2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000803/0.9056, allocations: 363.9 kB / 0.6649 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/0.9064, allocations: 180.5 kB / 0.6651 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.9102, allocations: 1.482 MB / 0.6666 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.9102, allocations: 11.05 kB / 0.6666 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9102, allocations: 4.125 kB / 0.6666 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9102, allocations: 7.859 kB / 0.6666 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007419/0.9177, allocations: 3.335 MB / 0.6698 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.9177, allocations: 6.906 kB / 0.6699 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.9184, allocations: 181.3 kB / 0.67 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008289/0.9267, allocations: 1.24 MB / 0.6712 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.9268, allocations: 38.11 kB / 0.6713 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007658/0.9345, allocations: 8.707 MB / 0.6798 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.9345, allocations: 6.25 kB / 0.6798 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/0.9388, allocations: 1.989 MB / 0.6817 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.9393, allocations: 159.1 kB / 0.6819 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.9397, allocations: 35.19 kB / 0.6819 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.9414, allocations: 107.3 kB / 0.682 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.9416, allocations: 95.03 kB / 0.6821 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/0.9419, allocations: 84 kB / 0.6822 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001047/0.9429, allocations: 0.7461 MB / 0.6829 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9429, allocations: 0 / 0.6829 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004152/0.9471, allocations: 1.24 MB / 0.6841 GB, free: 3.176 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.9488, allocations: 0.5541 MB / 0.6847 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00631/0.9551, allocations: 2.51 MB / 0.6871 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.9551, allocations: 3.594 kB / 0.6871 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.9568, allocations: 0.6671 MB / 0.6878 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.9607, allocations: 0.6406 MB / 0.6884 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.9664, allocations: 2.991 MB / 0.6913 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9675, allocations: 0.7795 MB / 0.6921 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00158/0.9691, allocations: 246.6 kB / 0.6923 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.9694, allocations: 96.7 kB / 0.6924 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/0.9694, allocations: 0 / 0.6924 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.06888/1.038, allocations: 38.24 MB / 0.7298 GB, free: 1.621 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.703092745039612]