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.001112/0.001112, allocations: 109.8 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.0009713/0.0009713, allocations: 191 kB / 18 MB, free: 5.105 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.386/1.386, 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.2637/0.2637, 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.001372/0.001373, allocations: 71.89 kB / 450 MB, free: 9.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 59.15 MB / 0.4972 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4161/0.5269, allocations: 170.6 MB / 0.6639 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005046/0.532, allocations: 3.899 MB / 0.6677 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.5325, allocations: 15.94 kB / 0.6677 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.5333, allocations: 266.3 kB / 0.6679 GB, free: 11.79 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.0009988/0.5343, allocations: 0.5677 MB / 0.6685 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.538, allocations: 1.636 MB / 0.6701 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.5396, allocations: 1.315 MB / 0.6714 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005182/0.5401, allocations: 405.5 kB / 0.6718 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006868/0.5408, allocations: 0.5139 MB / 0.6723 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.5413, allocations: 0.51 MB / 0.6728 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.5414, allocations: 56 kB / 0.6728 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.544, allocations: 1.454 MB / 0.6742 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.5444, allocations: 458.8 kB / 0.6747 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.5449, allocations: 0.5515 MB / 0.6752 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.5473, allocations: 1.932 MB / 0.6771 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5473, allocations: 4 kB / 0.6771 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5473, allocations: 0 / 0.6771 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.5473, allocations: 0 / 0.6771 GB, free: 2.375 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.002207/0.5495, allocations: 1.549 MB / 0.6786 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5496, allocations: 15.89 kB / 0.6786 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.5497, allocations: 98.45 kB / 0.6787 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.5504, allocations: 182.3 kB / 0.6789 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.5517, allocations: 0.8707 MB / 0.6798 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.5517, allocations: 41.25 kB / 0.6798 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.5518, allocations: 55.98 kB / 0.6799 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5529, allocations: 0.6081 MB / 0.6804 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5529, allocations: 0 / 0.6804 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.553, allocations: 27.94 kB / 0.6805 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.553, allocations: 12 kB / 0.6805 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007383/0.5537, allocations: 476.9 kB / 0.6809 GB, free: 14.32 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.004709/0.5585, allocations: 2.586 MB / 0.6835 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.5587, allocations: 135.5 kB / 0.6836 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.5588, allocations: 52.84 kB / 0.6836 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.5591, allocations: 121.1 kB / 0.6838 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5592, allocations: 42.56 kB / 0.6838 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.5592, allocations: 0 / 0.6838 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005722/0.5598, allocations: 288.1 kB / 0.6841 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.5598, allocations: 51.41 kB / 0.6841 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.5624, allocations: 1.927 MB / 0.686 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.5625, allocations: 37.69 kB / 0.686 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/0.563, allocations: 0.5789 MB / 0.6866 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.5631, allocations: 59.33 kB / 0.6867 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5632, allocations: 81.59 kB / 0.6867 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5633, allocations: 318 kB / 0.687 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.5635, allocations: 126.2 kB / 0.6872 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.5638, allocations: 239.4 kB / 0.6874 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.5643, allocations: 332.1 kB / 0.6877 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5643, allocations: 8 kB / 0.6877 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007593/0.5651, allocations: 0.4921 MB / 0.6882 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5651, allocations: 8 kB / 0.6882 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5651, allocations: 8.031 kB / 0.6882 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.5651, allocations: 15.88 kB / 0.6882 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.5656, allocations: 111.8 kB / 0.6883 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.5664, allocations: 1.188 MB / 0.6895 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.5669, allocations: 83.2 kB / 0.6896 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.5669, allocations: 23.98 kB / 0.6896 GB, free: 5.008 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.0004511/0.5674, allocations: 373.5 kB / 0.69 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.5676, allocations: 122.5 kB / 0.6901 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.568, allocations: 277.1 kB / 0.6903 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.568, allocations: 3.984 kB / 0.6903 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.568, allocations: 8 kB / 0.6903 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.568, allocations: 7.875 kB / 0.6904 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.5688, allocations: 0.6799 MB / 0.691 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5688, allocations: 0 / 0.691 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.5691, allocations: 45.28 kB / 0.6911 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.5691, allocations: 4.094 kB / 0.6911 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5691, allocations: 4 kB / 0.6911 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006432/0.5698, allocations: 1.19 MB / 0.6922 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5698, allocations: 3.984 kB / 0.6922 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.5703, allocations: 412.3 kB / 0.6926 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.5707, allocations: 247.6 kB / 0.6929 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.5708, allocations: 0 / 0.6929 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.5712, allocations: 24.2 kB / 0.6929 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5712, allocations: 7.984 kB / 0.6929 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.5713, allocations: 15.98 kB / 0.6929 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00161/0.5729, allocations: 1.378 MB / 0.6943 GB, free: 80 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5729, allocations: 0 / 0.6943 GB, free: 80 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007813/0.5737, allocations: 239.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.002069/0.5758, allocations: 1.379 MB / 0.6958 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.5764, allocations: 244.7 kB / 0.6961 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5764, allocations: 0 / 0.6961 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.5766, allocations: 75.84 kB / 0.6961 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5781, allocations: 365.1 kB / 0.6965 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.5923, allocations: 10.69 MB / 0.7069 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.5931, allocations: 1.102 MB / 0.708 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.5938, allocations: 220.8 kB / 0.7082 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.5942, allocations: 403.3 kB / 0.7086 GB, free: 1.078 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.5942, allocations: 4 kB / 0.7086 GB, free: 1.074 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/0.653, allocations: 29.53 MB / 0.7374 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.23, allocations: 8.062 kB / 0.7374 GB, free: 3.438 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)