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.001103/0.001103, allocations: 108.4 kB / 16.51 MB, free: 6.707 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.001098/0.001098, allocations: 190.5 kB / 17.42 MB, free: 6.07 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.158/1.158, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2405/0.2405, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001289/0.001289, allocations: 66.16 kB / 389.5 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07999, allocations: 59.17 MB / 448.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3111/0.3911, allocations: 168.7 MB / 0.6028 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.3956, allocations: 4.045 MB / 0.6068 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.3958, allocations: 8.688 kB / 0.6068 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.3965, allocations: 236.9 kB / 0.607 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.3972, allocations: 0.5408 MB / 0.6076 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.4, allocations: 1.493 MB / 0.609 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.4012, allocations: 1.722 MB / 0.6107 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.4016, allocations: 343.9 kB / 0.611 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004409/0.402, allocations: 465.3 kB / 0.6115 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.4025, allocations: 0.5231 MB / 0.612 GB, free: 480 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.119e-05/0.4026, allocations: 31.5 kB / 0.612 GB, free: 476 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.4049, allocations: 1.685 MB / 0.6137 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.4052, allocations: 443.9 kB / 0.6141 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.4056, allocations: 0.5034 MB / 0.6146 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4073, allocations: 1.987 MB / 0.6165 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4074, allocations: 2.938 kB / 0.6165 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.4074, allocations: 0 / 0.6165 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4074, allocations: 0 / 0.6165 GB, free: 13.77 MB / 446.1 MB 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.001933/0.4093, allocations: 1.556 MB / 0.618 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4094, allocations: 10.44 kB / 0.618 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.4095, allocations: 97.89 kB / 0.6181 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.4102, allocations: 187.8 kB / 0.6183 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.4114, allocations: 0.8589 MB / 0.6192 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.4114, allocations: 36.81 kB / 0.6192 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.4115, allocations: 52.64 kB / 0.6192 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.4125, allocations: 0.6089 MB / 0.6198 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4125, allocations: 0 / 0.6198 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.4126, allocations: 27.72 kB / 0.6199 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4126, allocations: 18.84 kB / 0.6199 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.4133, allocations: 478 kB / 0.6203 GB, free: 11.02 MB / 446.1 MB 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.003671/0.4169, allocations: 2.613 MB / 0.6229 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4172, allocations: 138.6 kB / 0.623 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.4173, allocations: 52.83 kB / 0.6231 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.4175, allocations: 121 kB / 0.6232 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.4175, allocations: 42.55 kB / 0.6232 GB, free: 7.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.4175, allocations: 4 kB / 0.6232 GB, free: 7.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004587/0.418, allocations: 288 kB / 0.6235 GB, free: 7.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.418, allocations: 51.41 kB / 0.6236 GB, free: 7.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.42, allocations: 1.931 MB / 0.6254 GB, free: 5.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.42, allocations: 29.7 kB / 0.6255 GB, free: 5.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.4205, allocations: 0.5906 MB / 0.626 GB, free: 4.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4205, allocations: 47.3 kB / 0.6261 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4206, allocations: 81.59 kB / 0.6262 GB, free: 4.789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4208, allocations: 326 kB / 0.6265 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.4209, allocations: 121.5 kB / 0.6266 GB, free: 4.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.4212, allocations: 243.4 kB / 0.6268 GB, free: 4.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.4216, allocations: 348.4 kB / 0.6272 GB, free: 3.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.4216, allocations: 4 kB / 0.6272 GB, free: 3.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006674/0.4223, allocations: 491.6 kB / 0.6276 GB, free: 3.148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4223, allocations: 8 kB / 0.6276 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4223, allocations: 4 kB / 0.6276 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4223, allocations: 12.5 kB / 0.6277 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.4228, allocations: 117.9 kB / 0.6278 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005892/0.4234, allocations: 1.191 MB / 0.6289 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.4238, allocations: 75.19 kB / 0.629 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4239, allocations: 24.19 kB / 0.629 GB, free: 1.676 MB / 446.1 MB 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.0003857/0.4243, allocations: 381.7 kB / 0.6294 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.4244, allocations: 118.5 kB / 0.6295 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.4249, allocations: 281.7 kB / 0.6298 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4249, allocations: 0 / 0.6298 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4249, allocations: 4 kB / 0.6298 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4249, allocations: 7.938 kB / 0.6298 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.4256, allocations: 0.6815 MB / 0.6305 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4256, allocations: 0 / 0.6305 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4259, allocations: 47.95 kB / 0.6305 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4259, allocations: 7.938 kB / 0.6305 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4259, allocations: 0 / 0.6305 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005689/0.4265, allocations: 1.199 MB / 0.6317 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4265, allocations: 0 / 0.6317 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.427, allocations: 405 kB / 0.6321 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.4272, allocations: 247.6 kB / 0.6323 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4274, allocations: 7.938 kB / 0.6323 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.4278, allocations: 24.08 kB / 0.6323 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.4278, allocations: 19.92 kB / 0.6323 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4279, allocations: 11.98 kB / 0.6324 GB, free: 14.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.4294, allocations: 1.374 MB / 0.6337 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4294, allocations: 0 / 0.6337 GB, free: 12.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000696/0.4301, allocations: 231.8 kB / 0.6339 GB, free: 12.5 MB / 462.1 MB 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.001909/0.432, allocations: 1.381 MB / 0.6353 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.4325, allocations: 248.6 kB / 0.6355 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4325, allocations: 4.062 kB / 0.6355 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4327, allocations: 79.89 kB / 0.6356 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4342, allocations: 348.9 kB / 0.6359 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.4477, allocations: 11.95 MB / 0.6476 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.4483, allocations: 1.11 MB / 0.6487 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005935/0.4489, allocations: 228.5 kB / 0.6489 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.4494, allocations: 403.3 kB / 0.6493 GB, free: 12.27 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4494, allocations: 0 / 0.6493 GB, free: 12.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04252/0.4919, allocations: 28.03 MB / 0.6767 GB, free: 164 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.4922, allocations: 285.7 kB / 0.6769 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.656, allocations: 0 / 0.6769 GB, free: 15.77 MB / 0.4981 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)