Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.001306/0.001306, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001452/0.001452, allocations: 209.2 kB / 24.48 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1567/0.1567, allocations: 26.84 MB / 341.5 MB, free: 7.973 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.89 kB / 478 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 60.49 MB / 0.5259 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1848/0.4821, allocations: 146.8 MB / 0.6693 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005626/0.4877, allocations: 3.486 MB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.4881, allocations: 11.94 kB / 0.6727 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.489, allocations: 262.3 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.4903, allocations: 0.6378 MB / 0.6736 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.4945, allocations: 1.617 MB / 0.6751 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.4962, allocations: 1.364 MB / 0.6765 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.4968, allocations: 377.3 kB / 0.6768 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008413/0.4976, allocations: 0.545 MB / 0.6774 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.4983, allocations: 0.5372 MB / 0.6779 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.4985, allocations: 56 kB / 0.6779 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.501, allocations: 1.189 MB / 0.6791 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.5015, allocations: 474.6 kB / 0.6796 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.502, allocations: 441.5 kB / 0.68 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002917/0.5049, allocations: 1.903 MB / 0.6818 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5049, allocations: 0 / 0.6818 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5049, allocations: 0 / 0.6818 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.5049, allocations: 4 kB / 0.6818 GB, free: 4.555 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002634/0.5076, allocations: 1.523 MB / 0.6833 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.5076, allocations: 12.03 kB / 0.6833 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008596/0.5085, allocations: 187 kB / 0.6835 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5099, allocations: 0.8101 MB / 0.6843 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.51, allocations: 41.3 kB / 0.6843 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.5101, allocations: 52 kB / 0.6844 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5113, allocations: 1.042 MB / 0.6854 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5114, allocations: 0 / 0.6854 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.5114, allocations: 24 kB / 0.6854 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.5114, allocations: 12 kB / 0.6854 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.5122, allocations: 469 kB / 0.6859 GB, free: 208 kB / 0.5137 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.0042/0.5164, allocations: 1.849 MB / 0.6877 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.5167, allocations: 126.6 kB / 0.6878 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.5168, allocations: 48.78 kB / 0.6879 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.517, allocations: 47.95 kB / 0.6879 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.517, allocations: 42.5 kB / 0.688 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.517, allocations: 0 / 0.688 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005513/0.5176, allocations: 265 kB / 0.6882 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.5177, allocations: 59.34 kB / 0.6883 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.5198, allocations: 1.713 MB / 0.6899 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.5199, allocations: 25.7 kB / 0.69 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/0.5204, allocations: 0.5979 MB / 0.6905 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.5204, allocations: 51.62 kB / 0.6906 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5206, allocations: 89.55 kB / 0.6907 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5207, allocations: 318 kB / 0.691 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5209, allocations: 126.2 kB / 0.6911 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.5213, allocations: 251.1 kB / 0.6913 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.5217, allocations: 333.7 kB / 0.6917 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5217, allocations: 4 kB / 0.6917 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008092/0.5225, allocations: 492.6 kB / 0.6921 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5225, allocations: 8 kB / 0.6921 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.5226, allocations: 4 kB / 0.6921 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5226, allocations: 11.94 kB / 0.6922 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.5231, allocations: 111.9 kB / 0.6923 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.5239, allocations: 1.196 MB / 0.6934 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.5244, allocations: 51.66 kB / 0.6935 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.5244, allocations: 24 kB / 0.6935 GB, free: 8.102 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * 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.0005691/0.525, allocations: 382.6 kB / 0.6939 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.5252, allocations: 111.3 kB / 0.694 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.5256, allocations: 259.3 kB / 0.6942 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5256, allocations: 7.984 kB / 0.6942 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5256, allocations: 0 / 0.6942 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5256, allocations: 3.938 kB / 0.6942 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.5264, allocations: 0.5231 MB / 0.6947 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5264, allocations: 4 kB / 0.6947 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.5266, allocations: 55.91 kB / 0.6948 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5266, allocations: 0 / 0.6948 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5266, allocations: 0 / 0.6948 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/0.5274, allocations: 1.195 MB / 0.696 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5274, allocations: 4 kB / 0.696 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.5279, allocations: 403.8 kB / 0.6964 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.5282, allocations: 131.6 kB / 0.6965 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.5283, allocations: 8 kB / 0.6965 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.5287, allocations: 15.98 kB / 0.6965 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.5287, allocations: 7.984 kB / 0.6965 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.5288, allocations: 19.97 kB / 0.6965 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00154/0.5303, allocations: 1.205 MB / 0.6977 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5303, allocations: 0 / 0.6977 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008331/0.5311, allocations: 267.3 kB / 0.698 GB, free: 3.426 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001884/0.533, allocations: 0.5495 MB / 0.6985 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.5337, allocations: 235.8 kB / 0.6987 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5337, allocations: 0 / 0.6987 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.5338, allocations: 67.91 kB / 0.6988 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5348, allocations: 209 kB / 0.699 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.538, allocations: 2.012 MB / 0.701 GB, free: 476 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.5386, allocations: 0.5076 MB / 0.7015 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.5388, allocations: 63.44 kB / 0.7015 GB, free: 15.87 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.5388, allocations: 0 / 0.7015 GB, free: 15.87 MB / 0.545 GB Notification: Performance of Templates: time 0.03216/0.571, allocations: 22.18 MB / 0.7232 GB, free: 9.68 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.58102412999142] Failed to read output from testmodel.py, exit status != 0: 0.5803745090961456 0.76216398 0.25460829099999993 Calling exit ...