Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001709/0.001709, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001919/0.001919, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.158/0.158, allocations: 26.84 MB / 340.7 MB, free: 7.953 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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [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.002106/0.002106, allocations: 59.91 kB / 477.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 60.49 MB / 0.5251 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1975/0.5925, allocations: 146.9 MB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005677/0.5982, allocations: 3.47 MB / 0.6719 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.5986, allocations: 19.81 kB / 0.672 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.5995, allocations: 258.3 kB / 0.6722 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.6008, allocations: 0.6378 MB / 0.6728 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.605, allocations: 1.627 MB / 0.6744 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.6069, allocations: 1.376 MB / 0.6758 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.6075, allocations: 372.5 kB / 0.6761 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/0.6083, allocations: 0.5606 MB / 0.6767 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.6091, allocations: 0.5372 MB / 0.6772 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.6092, allocations: 60 kB / 0.6772 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.6109, allocations: 0.6703 MB / 0.6779 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.6115, allocations: 470.7 kB / 0.6784 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.612, allocations: 453.5 kB / 0.6788 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.6143, allocations: 1.607 MB / 0.6804 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6144, allocations: 0 / 0.6804 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6144, allocations: 0 / 0.6804 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.6144, allocations: 0 / 0.6804 GB, free: 5.293 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002454/0.6168, allocations: 1.468 MB / 0.6818 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6169, allocations: 8.031 kB / 0.6818 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.6177, allocations: 199 kB / 0.682 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.6191, allocations: 0.8179 MB / 0.6828 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.6192, allocations: 41.31 kB / 0.6828 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.6193, allocations: 52 kB / 0.6829 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6206, allocations: 1.05 MB / 0.6839 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.6206, allocations: 4 kB / 0.6839 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.6207, allocations: 24 kB / 0.6839 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.6207, allocations: 12 kB / 0.6839 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.6216, allocations: 484.9 kB / 0.6844 GB, free: 0.9531 MB / 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.004142/0.6257, allocations: 1.826 MB / 0.6862 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.6261, allocations: 182.6 kB / 0.6864 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.6263, allocations: 76.81 kB / 0.6864 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.6265, allocations: 35.89 kB / 0.6865 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.6265, allocations: 38.56 kB / 0.6865 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 2.435e-06/0.6265, allocations: 0 / 0.6865 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0008239/0.6274, allocations: 341.2 kB / 0.6868 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.6274, allocations: 55.39 kB / 0.6869 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.6298, allocations: 1.689 MB / 0.6885 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.6298, allocations: 25.7 kB / 0.6886 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.6303, allocations: 0.5902 MB / 0.6891 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.6304, allocations: 71.39 kB / 0.6892 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.6305, allocations: 78.02 kB / 0.6893 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6307, allocations: 329.9 kB / 0.6896 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.6309, allocations: 142.5 kB / 0.6897 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.6312, allocations: 230 kB / 0.6899 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.6317, allocations: 329.5 kB / 0.6903 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6317, allocations: 4 kB / 0.6903 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008186/0.6326, allocations: 0.4926 MB / 0.6907 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6326, allocations: 6.812 kB / 0.6907 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6326, allocations: 4 kB / 0.6908 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.6326, allocations: 8.438 kB / 0.6908 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.6332, allocations: 115.9 kB / 0.6909 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.6345, allocations: 1.789 MB / 0.6926 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.6349, allocations: 51.59 kB / 0.6927 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.635, allocations: 23.98 kB / 0.6927 GB, free: 8.172 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006732/0.6356, allocations: 385.8 kB / 0.6931 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.6359, allocations: 119.2 kB / 0.6932 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.6366, allocations: 321.8 kB / 0.6935 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6366, allocations: 4 kB / 0.6935 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6366, allocations: 0 / 0.6935 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6366, allocations: 7.922 kB / 0.6935 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/0.6375, allocations: 0.5385 MB / 0.694 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6375, allocations: 0 / 0.694 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.6378, allocations: 67.89 kB / 0.6941 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.6378, allocations: 4 kB / 0.6941 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.6379, allocations: 4 kB / 0.6941 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.6392, allocations: 1.781 MB / 0.6958 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6392, allocations: 0 / 0.6958 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.64, allocations: 489.5 kB / 0.6963 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.6403, allocations: 135.3 kB / 0.6964 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.6404, allocations: 8 kB / 0.6964 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.6408, allocations: 16.33 kB / 0.6964 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.6409, allocations: 23.91 kB / 0.6965 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.6409, allocations: 19.97 kB / 0.6965 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001728/0.6426, allocations: 1.193 MB / 0.6977 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6426, allocations: 3.938 kB / 0.6977 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009546/0.6436, allocations: 267.2 kB / 0.6979 GB, free: 2.688 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001944/0.6455, allocations: 0.5352 MB / 0.6984 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007872/0.6463, allocations: 272.6 kB / 0.6987 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6463, allocations: 4.125 kB / 0.6987 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.6466, allocations: 106.6 kB / 0.6988 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6477, allocations: 211.1 kB / 0.699 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.651, allocations: 2.077 MB / 0.701 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.6516, allocations: 0.5237 MB / 0.7015 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005289/0.6521, allocations: 190.6 kB / 0.7017 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.6523, allocations: 67.42 kB / 0.7018 GB, free: 14.8 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/0.6523, allocations: 0 / 0.7018 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Templates: time 0.02791/0.6802, allocations: 15.03 MB / 0.7165 GB, free: 15.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.723393555730581] Failed to read output from testmodel.py, exit status != 0: 0.6897591557353735 0.7038070009999999 0.086280351 Calling exit ...