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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 107.9 kB / 17.06 MB, free: 6.02 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.001097/0.001097, allocations: 199 kB / 18 MB, free: 5.098 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.363/1.363, 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.2672/0.2672, 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.001583/0.001583, allocations: 67.91 kB / 450 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 59.16 MB / 0.4972 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4549/0.5692, allocations: 170.6 MB / 0.6639 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005225/0.5745, allocations: 3.902 MB / 0.6677 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.575, allocations: 11.94 kB / 0.6677 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.5758, allocations: 266.3 kB / 0.6679 GB, free: 11.78 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.001144/0.577, allocations: 0.5716 MB / 0.6685 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.5815, allocations: 1.635 MB / 0.6701 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.5833, allocations: 1.311 MB / 0.6714 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.5839, allocations: 409.5 kB / 0.6718 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007885/0.5847, allocations: 0.5217 MB / 0.6723 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.5854, allocations: 0.5177 MB / 0.6728 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.799e-05/0.5855, allocations: 56 kB / 0.6728 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.5886, allocations: 1.442 MB / 0.6742 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003849/0.589, allocations: 466.8 kB / 0.6747 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.5895, allocations: 0.5476 MB / 0.6752 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.5923, allocations: 1.932 MB / 0.6771 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5923, allocations: 3.938 kB / 0.6771 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5923, allocations: 0 / 0.6771 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.5923, allocations: 0 / 0.6771 GB, free: 2.359 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.00281/0.5951, allocations: 1.553 MB / 0.6786 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.5952, allocations: 15.89 kB / 0.6786 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.5954, allocations: 102.4 kB / 0.6787 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008005/0.5962, allocations: 186.3 kB / 0.6789 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.5975, allocations: 0.8628 MB / 0.6798 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.5975, allocations: 41.31 kB / 0.6798 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.5976, allocations: 48 kB / 0.6799 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.5986, allocations: 0.6159 MB / 0.6805 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.5986, allocations: 0.8125 kB / 0.6805 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.5987, allocations: 23.94 kB / 0.6805 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.5987, allocations: 12 kB / 0.6805 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.5994, allocations: 476.9 kB / 0.6809 GB, free: 14.31 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.004293/0.6037, allocations: 2.586 MB / 0.6835 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.604, allocations: 134.6 kB / 0.6836 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.6041, allocations: 53.72 kB / 0.6836 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.6044, allocations: 125.1 kB / 0.6838 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.6044, allocations: 38.56 kB / 0.6838 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.6044, allocations: 0 / 0.6838 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005068/0.6049, allocations: 288.1 kB / 0.6841 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.605, allocations: 55.41 kB / 0.6841 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.6071, allocations: 1.927 MB / 0.686 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.6071, allocations: 37.69 kB / 0.6861 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.6076, allocations: 0.5828 MB / 0.6866 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.6076, allocations: 55.34 kB / 0.6867 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.6078, allocations: 81.59 kB / 0.6868 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6079, allocations: 318 kB / 0.6871 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.6081, allocations: 122.2 kB / 0.6872 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.6083, allocations: 243.4 kB / 0.6874 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.6087, allocations: 333.7 kB / 0.6877 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6087, allocations: 0 / 0.6877 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000726/0.6095, allocations: 0.4961 MB / 0.6882 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6095, allocations: 12 kB / 0.6882 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6095, allocations: 11.38 kB / 0.6882 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.6095, allocations: 7.938 kB / 0.6882 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.61, allocations: 111.8 kB / 0.6883 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006012/0.6107, allocations: 1.188 MB / 0.6895 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.6111, allocations: 79.14 kB / 0.6896 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.6112, allocations: 23.98 kB / 0.6896 GB, free: 4.996 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.0004759/0.6117, allocations: 381.4 kB / 0.69 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6118, allocations: 118.5 kB / 0.6901 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.6123, allocations: 276.9 kB / 0.6903 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6123, allocations: 3.984 kB / 0.6903 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6123, allocations: 4.156 kB / 0.6903 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6123, allocations: 7.922 kB / 0.6904 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.6131, allocations: 0.68 MB / 0.691 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6131, allocations: 0 / 0.691 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.6134, allocations: 48.78 kB / 0.6911 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6134, allocations: 0 / 0.6911 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6134, allocations: 8 kB / 0.6911 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000591/0.614, allocations: 1.187 MB / 0.6922 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.614, allocations: 4.031 kB / 0.6922 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.6145, allocations: 412.3 kB / 0.6926 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.6148, allocations: 247.6 kB / 0.6929 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.6149, allocations: 0 / 0.6929 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.6154, allocations: 20.2 kB / 0.6929 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.6154, allocations: 11.98 kB / 0.6929 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.6154, allocations: 15.98 kB / 0.6929 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001512/0.6169, allocations: 1.374 MB / 0.6943 GB, free: 68 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.617, allocations: 0 / 0.6943 GB, free: 68 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007337/0.6177, allocations: 235.8 kB / 0.6945 GB, free: 15.84 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.001989/0.6197, allocations: 1.388 MB / 0.6958 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.6202, allocations: 240.6 kB / 0.6961 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6203, allocations: 4 kB / 0.6961 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.6204, allocations: 71.91 kB / 0.6961 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.6219, allocations: 369.5 kB / 0.6965 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.6353, allocations: 10.69 MB / 0.7069 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.6361, allocations: 1.102 MB / 0.708 GB, free: 1.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006918/0.6368, allocations: 220.6 kB / 0.7082 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.6374, allocations: 407.3 kB / 0.7086 GB, free: 1.059 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/0.6374, allocations: 0 / 0.7086 GB, free: 1.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05964/0.697, allocations: 29.96 MB / 0.7379 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.18, allocations: 0 / 0.7379 GB, free: 3.012 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)