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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.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(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 110 kB / 17.06 MB, free: 5.793 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.001714/0.001714, allocations: 200 kB / 18.01 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2871/0.2871, allocations: 48.85 MB / 320.1 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.89 kB / 450.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 59.16 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5508/0.6692, allocations: 251.7 MB / 0.7435 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009667/0.679, allocations: 4.803 MB / 0.7482 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.6811, allocations: 31.81 kB / 0.7482 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003761/0.685, allocations: 1.029 MB / 0.7493 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.6906, allocations: 1.418 MB / 0.7506 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008176/0.6988, allocations: 2.471 MB / 0.753 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008133/0.7069, allocations: 4.38 MB / 0.7573 GB, free: 108 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3732/1.08, allocations: 1.322 MB / 0.7586 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/1.085, allocations: 1.611 MB / 0.7602 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/1.089, allocations: 1.466 MB / 0.7616 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008656/1.09, allocations: 202.1 kB / 0.7618 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005704/1.095, allocations: 1.684 MB / 0.7635 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/1.097, allocations: 0.91 MB / 0.7643 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003692/1.101, allocations: 1.305 MB / 0.7656 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007374/1.108, allocations: 3.5 MB / 0.769 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.108, allocations: 1.031 kB / 0.769 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.575e-06/1.108, allocations: 1.188 kB / 0.769 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.53e-05/1.109, allocations: 0 / 0.769 GB, free: 4.082 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: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.007386/1.116, allocations: 2.683 MB / 0.7717 GB, free: 18.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.116, allocations: 13.8 kB / 0.7717 GB, free: 18.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/1.118, allocations: 401.6 kB / 0.7721 GB, free: 18.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/1.121, allocations: 1.086 MB / 0.7731 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/1.121, allocations: 136.1 kB / 0.7732 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/1.121, allocations: 174.7 kB / 0.7734 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/1.126, allocations: 2.115 MB / 0.7755 GB, free: 18.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.126, allocations: 1.719 kB / 0.7755 GB, free: 18.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/1.126, allocations: 77.97 kB / 0.7756 GB, free: 18.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.441e-05/1.126, allocations: 45.69 kB / 0.7756 GB, free: 18.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/1.13, allocations: 1.811 MB / 0.7774 GB, free: 18.24 MB / 0.6075 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.01431/1.145, allocations: 7.229 MB / 0.7844 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/1.149, allocations: 1.451 MB / 0.7858 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/1.15, allocations: 0.4998 MB / 0.7863 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/1.151, allocations: 30.05 kB / 0.7864 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/1.151, allocations: 58.03 kB / 0.7864 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 3.707e-06/1.151, allocations: 0.875 kB / 0.7864 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.01444/1.165, allocations: 3.58 MB / 0.7899 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/1.165, allocations: 123 kB / 0.79 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.168, allocations: 1.847 MB / 0.7918 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/1.168, allocations: 56.7 kB / 0.7919 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006405/1.169, allocations: 0.8283 MB / 0.7927 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/1.169, allocations: 361.5 kB / 0.793 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/1.169, allocations: 279.5 kB / 0.7933 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.17, allocations: 305.2 kB / 0.7936 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.171, allocations: 0.5685 MB / 0.7942 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/1.172, allocations: 0.9734 MB / 0.7951 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/1.175, allocations: 1.491 MB / 0.7966 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/1.175, allocations: 7.234 kB / 0.7966 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00463/1.179, allocations: 2.078 MB / 0.7986 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.18, allocations: 12.94 kB / 0.7986 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.18, allocations: 13.06 kB / 0.7986 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/1.19, allocations: 1.544 MB / 0.8001 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.192, allocations: 325.1 kB / 0.8004 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/1.198, allocations: 6.042 MB / 0.8063 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/1.201, allocations: 293.6 kB / 0.8066 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/1.201, allocations: 81.81 kB / 0.8067 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002007/1.203, allocations: 0.8315 MB / 0.8075 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001636/1.205, allocations: 0.9629 MB / 0.8085 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002827/1.208, allocations: 1.455 MB / 0.8099 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-05/1.208, allocations: 2.25 kB / 0.8099 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004459/1.212, allocations: 1.858 MB / 0.8117 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.212, allocations: 17.48 kB / 0.8117 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/1.212, allocations: 17.3 kB / 0.8117 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008377/1.213, allocations: 181.9 kB / 0.8119 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/1.215, allocations: 405.4 kB / 0.8123 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006974/1.222, allocations: 7.904 MB / 0.82 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.225, allocations: 197 kB / 0.8202 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/1.225, allocations: 76.3 kB / 0.8203 GB, free: 14.18 MB / 0.6231 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.0009768/1.226, allocations: 276.8 kB / 0.8205 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.227, allocations: 215.5 kB / 0.8207 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/1.232, allocations: 1.643 MB / 0.8223 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.232, allocations: 15.98 kB / 0.8224 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.232, allocations: 3.75 kB / 0.8224 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.232, allocations: 14.11 kB / 0.8224 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/1.241, allocations: 3.486 MB / 0.8258 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/1.241, allocations: 5.875 kB / 0.8258 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/1.242, allocations: 188.8 kB / 0.826 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008404/1.251, allocations: 1.254 MB / 0.8272 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.251, allocations: 34.95 kB / 0.8272 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/1.256, allocations: 6.04 MB / 0.8331 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.256, allocations: 11.75 kB / 0.8331 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/1.261, allocations: 1.957 MB / 0.835 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.262, allocations: 323.7 kB / 0.8353 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009704/1.263, allocations: 21.84 kB / 0.8354 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.265, allocations: 127.2 kB / 0.8355 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.266, allocations: 88.42 kB / 0.8356 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.266, allocations: 86.77 kB / 0.8357 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002432/1.268, allocations: 1.254 MB / 0.8369 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.8e-07/1.268, allocations: 2.875 kB / 0.8369 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004787/1.273, allocations: 1.122 MB / 0.838 GB, free: 6.645 MB / 0.6231 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.001674/1.275, allocations: 0.5396 MB / 0.8385 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006555/1.281, allocations: 2.58 MB / 0.841 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.281, allocations: 5 kB / 0.841 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.283, allocations: 0.7019 MB / 0.8417 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006828/1.29, allocations: 1.105 MB / 0.8428 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/1.298, allocations: 3.104 MB / 0.8458 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.299, allocations: 1.373 MB / 0.8472 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00317/1.303, allocations: 379.2 kB / 0.8475 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/1.303, allocations: 123.8 kB / 0.8476 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/1.303, allocations: 0 / 0.8476 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.08995/1.393, allocations: 53.23 MB / 0.8996 GB, free: 10.39 MB / 0.6856 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)