Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.002393/0.002393, allocations: 196.1 kB / 18 MB, free: 5.191 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.452/1.452, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3006/0.3006, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.001591/0.001591, allocations: 67.91 kB / 450.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 59.17 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4345/0.5476, allocations: 170.6 MB / 0.6644 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005345/0.553, allocations: 3.903 MB / 0.6682 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.5535, allocations: 11.94 kB / 0.6682 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5546, allocations: 270.3 kB / 0.6684 GB, free: 11.41 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001275/0.5559, allocations: 0.5638 MB / 0.669 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.5602, allocations: 1.638 MB / 0.6706 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.5619, allocations: 1.311 MB / 0.6719 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007298/0.5626, allocations: 410.2 kB / 0.6723 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009789/0.5636, allocations: 0.5178 MB / 0.6728 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.5645, allocations: 0.5061 MB / 0.6733 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.5646, allocations: 60 kB / 0.6733 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.5677, allocations: 1.435 MB / 0.6747 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005293/0.5682, allocations: 478.7 kB / 0.6752 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008325/0.5691, allocations: 0.5321 MB / 0.6757 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.5719, allocations: 1.927 MB / 0.6776 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.572, allocations: 0 / 0.6776 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.572, allocations: 7.938 kB / 0.6776 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.177e-05/0.572, allocations: 0 / 0.6776 GB, free: 2.027 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.00273/0.5747, allocations: 1.575 MB / 0.6791 GB, free: 408 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5748, allocations: 11.89 kB / 0.6791 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/0.5756, allocations: 191 kB / 0.6793 GB, free: 204 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.577, allocations: 0.8596 MB / 0.6802 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.5771, allocations: 46.19 kB / 0.6802 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/0.5772, allocations: 48 kB / 0.6802 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.5782, allocations: 0.6119 MB / 0.6808 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5782, allocations: 0 / 0.6808 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.5783, allocations: 27.94 kB / 0.6809 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.5783, allocations: 12 kB / 0.6809 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/0.5791, allocations: 476.9 kB / 0.6813 GB, free: 14.06 MB / 0.5294 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.004617/0.5838, allocations: 2.582 MB / 0.6839 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.5841, allocations: 135.8 kB / 0.684 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.5842, allocations: 52.84 kB / 0.684 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.5845, allocations: 129.1 kB / 0.6842 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5846, allocations: 38.56 kB / 0.6842 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.5846, allocations: 0 / 0.6842 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0007415/0.5853, allocations: 285.2 kB / 0.6845 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.5854, allocations: 55.41 kB / 0.6845 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/0.588, allocations: 1.903 MB / 0.6864 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.588, allocations: 29.7 kB / 0.6864 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.5886, allocations: 0.5873 MB / 0.687 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.5886, allocations: 59.56 kB / 0.687 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.5888, allocations: 81.64 kB / 0.6871 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.589, allocations: 318 kB / 0.6874 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.5892, allocations: 126.2 kB / 0.6875 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.5895, allocations: 247.4 kB / 0.6878 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.5899, allocations: 333.7 kB / 0.6881 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5899, allocations: 0 / 0.6881 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008333/0.5908, allocations: 0.4929 MB / 0.6886 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5908, allocations: 16.08 kB / 0.6886 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5908, allocations: 4 kB / 0.6886 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5908, allocations: 8.875 kB / 0.6886 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.5914, allocations: 112.2 kB / 0.6887 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006933/0.5921, allocations: 1.192 MB / 0.6899 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.5926, allocations: 71.39 kB / 0.6899 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.5926, allocations: 34.73 kB / 0.69 GB, free: 4.77 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.0004811/0.5931, allocations: 378.4 kB / 0.6903 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.5933, allocations: 131.2 kB / 0.6905 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.5938, allocations: 277 kB / 0.6907 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5938, allocations: 96 / 0.6907 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5938, allocations: 4 kB / 0.6907 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5938, allocations: 3.938 kB / 0.6907 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.5947, allocations: 0.6718 MB / 0.6914 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5947, allocations: 0 / 0.6914 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.595, allocations: 50.61 kB / 0.6914 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.595, allocations: 0 / 0.6914 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.595, allocations: 8 kB / 0.6914 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006581/0.5957, allocations: 1.189 MB / 0.6926 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5957, allocations: 0 / 0.6926 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.5963, allocations: 412.9 kB / 0.693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.5967, allocations: 244.3 kB / 0.6932 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.5968, allocations: 4.25 kB / 0.6932 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.5973, allocations: 19.98 kB / 0.6933 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.5973, allocations: 11.92 kB / 0.6933 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.5974, allocations: 15.98 kB / 0.6933 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001929/0.5993, allocations: 1.362 MB / 0.6946 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5993, allocations: 0 / 0.6946 GB, free: 15.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008084/0.6001, allocations: 239.6 kB / 0.6948 GB, free: 15.63 MB / 0.545 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.001504/0.6016, allocations: 0.529 MB / 0.6954 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005805/0.6022, allocations: 244.7 kB / 0.6956 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6022, allocations: 0 / 0.6956 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.6024, allocations: 67.91 kB / 0.6957 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.604, allocations: 384.8 kB / 0.696 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.6069, allocations: 1.981 MB / 0.698 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.6077, allocations: 1.11 MB / 0.699 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005755/0.6083, allocations: 220.7 kB / 0.6993 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6084, allocations: 75.42 kB / 0.6993 GB, free: 10.96 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.6084, allocations: 0 / 0.6993 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Templates: time 0.02967/0.6381, allocations: 17.8 MB / 0.7167 GB, free: 9.133 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)