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.00153/0.00153, allocations: 108.3 kB / 17.74 MB, free: 5.297 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.001702/0.001702, allocations: 187 kB / 18.67 MB, free: 4.375 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.424/1.424, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2867/0.2867, allocations: 48.85 MB / 320.8 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.001711/0.001711, allocations: 71.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1234, allocations: 59.15 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4657/0.5892, allocations: 170.6 MB / 0.665 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00606/0.5953, allocations: 3.907 MB / 0.6688 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.5959, allocations: 11.94 kB / 0.6688 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5971, allocations: 278.2 kB / 0.6691 GB, free: 11.43 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.00153/0.5987, allocations: 0.56 MB / 0.6696 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004953/0.6037, allocations: 1.643 MB / 0.6712 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.6058, allocations: 1.315 MB / 0.6725 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008811/0.6067, allocations: 410.1 kB / 0.6729 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.6078, allocations: 0.5256 MB / 0.6734 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009734/0.6088, allocations: 0.51 MB / 0.6739 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.609, allocations: 56 kB / 0.674 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.6122, allocations: 1.435 MB / 0.6754 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.6128, allocations: 470.8 kB / 0.6758 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000873/0.6137, allocations: 0.536 MB / 0.6764 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.6175, allocations: 1.92 MB / 0.6782 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.6175, allocations: 3.984 kB / 0.6782 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6175, allocations: 0 / 0.6782 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.539e-05/0.6176, allocations: 0 / 0.6782 GB, free: 2.047 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.003394/0.621, allocations: 1.53 MB / 0.6797 GB, free: 476 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6211, allocations: 15.89 kB / 0.6797 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.622, allocations: 182.3 kB / 0.6799 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.6236, allocations: 0.8508 MB / 0.6808 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.6236, allocations: 37.31 kB / 0.6808 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.474e-05/0.6237, allocations: 48 kB / 0.6808 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.6249, allocations: 0.6197 MB / 0.6814 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.6249, allocations: 4 kB / 0.6814 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.625, allocations: 23.94 kB / 0.6815 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.625, allocations: 12.5 kB / 0.6815 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007692/0.6258, allocations: 473 kB / 0.6819 GB, free: 14.14 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.00453/0.6304, allocations: 2.57 MB / 0.6844 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.6306, allocations: 139.9 kB / 0.6846 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.6308, allocations: 48.84 kB / 0.6846 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.631, allocations: 129.1 kB / 0.6847 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.6311, allocations: 38.5 kB / 0.6848 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.6311, allocations: 0 / 0.6848 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0006144/0.6317, allocations: 276.5 kB / 0.685 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.6318, allocations: 59.39 kB / 0.6851 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.6342, allocations: 1.906 MB / 0.687 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.6343, allocations: 25.7 kB / 0.687 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.6349, allocations: 0.5905 MB / 0.6876 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.6349, allocations: 47.36 kB / 0.6876 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.6351, allocations: 81.59 kB / 0.6877 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6353, allocations: 318 kB / 0.688 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.6355, allocations: 126.2 kB / 0.6881 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.6358, allocations: 243.4 kB / 0.6883 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.6362, allocations: 337.7 kB / 0.6887 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.6363, allocations: 4 kB / 0.6887 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008836/0.6371, allocations: 0.4921 MB / 0.6891 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6372, allocations: 15.84 kB / 0.6892 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6372, allocations: 4 kB / 0.6892 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.6372, allocations: 8 kB / 0.6892 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.6377, allocations: 109.5 kB / 0.6893 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000713/0.6385, allocations: 1.192 MB / 0.6904 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.639, allocations: 79.19 kB / 0.6905 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.639, allocations: 23.94 kB / 0.6905 GB, free: 4.875 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.0006208/0.6397, allocations: 374.2 kB / 0.6909 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6399, allocations: 118.5 kB / 0.691 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.6403, allocations: 281.2 kB / 0.6913 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6403, allocations: 8.078 kB / 0.6913 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6403, allocations: 3.984 kB / 0.6913 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6403, allocations: 0 / 0.6913 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.6411, allocations: 0.6756 MB / 0.6919 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6412, allocations: 4 kB / 0.692 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.6414, allocations: 43.97 kB / 0.692 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6414, allocations: 0 / 0.692 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.6414, allocations: 3.984 kB / 0.692 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005672/0.642, allocations: 1.184 MB / 0.6932 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.642, allocations: 5.859 kB / 0.6932 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.6425, allocations: 416.2 kB / 0.6936 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.6428, allocations: 227.9 kB / 0.6938 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6429, allocations: 8 kB / 0.6938 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.6433, allocations: 19.92 kB / 0.6938 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.6434, allocations: 11.98 kB / 0.6938 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.6434, allocations: 15.97 kB / 0.6938 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001583/0.645, allocations: 1.358 MB / 0.6952 GB, free: 15.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.645, allocations: 0 / 0.6952 GB, free: 15.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008025/0.6458, allocations: 235.7 kB / 0.6954 GB, free: 15.76 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.001363/0.6472, allocations: 0.5368 MB / 0.6959 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006107/0.6478, allocations: 244.5 kB / 0.6961 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6478, allocations: 4.25 kB / 0.6961 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.648, allocations: 79.83 kB / 0.6962 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.6497, allocations: 365.1 kB / 0.6966 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.6527, allocations: 1.993 MB / 0.6985 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.6535, allocations: 1.094 MB / 0.6996 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.6537, allocations: 79.42 kB / 0.6997 GB, free: 11.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.6537, allocations: 0 / 0.6997 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Templates: time 0.03291/0.6866, allocations: 23.84 MB / 0.7229 GB, free: 3.422 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)