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.0008054/0.0008055, allocations: 90.3 kB / 16.65 MB, free: 6.535 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.0008755/0.0008755, allocations: 176.9 kB / 17.56 MB, free: 6.18 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.116/1.116, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2273/0.2273, allocations: 48.79 MB / 320.8 MB, free: 11.12 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.0004467/0.0004468, allocations: 18.8 kB / 391.9 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07431/0.07477, allocations: 60.26 MB / 452.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3147/0.3895, allocations: 166.5 MB / 0.6041 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.3939, allocations: 3.978 MB / 0.608 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.3943, allocations: 10 kB / 0.608 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.3949, allocations: 241.2 kB / 0.6083 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007727/0.3957, allocations: 0.5382 MB / 0.6088 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.3986, allocations: 1.492 MB / 0.6103 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.3998, allocations: 1.723 MB / 0.6119 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.4002, allocations: 345.6 kB / 0.6123 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.4006, allocations: 465.8 kB / 0.6127 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.4011, allocations: 0.5189 MB / 0.6132 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.4011, allocations: 26.81 kB / 0.6132 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.4033, allocations: 1.689 MB / 0.6149 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.4035, allocations: 436.8 kB / 0.6153 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.4039, allocations: 0.5364 MB / 0.6158 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.4055, allocations: 1.973 MB / 0.6178 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4056, allocations: 0 / 0.6178 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4056, allocations: 0 / 0.6178 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4056, allocations: 1.781 kB / 0.6178 GB, free: 2.723 MB / 430.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.001573/0.4072, allocations: 1.327 MB / 0.6191 GB, free: 1.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.4072, allocations: 10.78 kB / 0.6191 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.4073, allocations: 98.55 kB / 0.6192 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.4079, allocations: 181.5 kB / 0.6193 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/0.4089, allocations: 0.8607 MB / 0.6202 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.4089, allocations: 39 kB / 0.6202 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.409, allocations: 52.5 kB / 0.6203 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.4098, allocations: 0.6072 MB / 0.6209 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4098, allocations: 6.812 kB / 0.6209 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.4099, allocations: 24.97 kB / 0.6209 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.4099, allocations: 11.69 kB / 0.6209 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.4105, allocations: 478.1 kB / 0.6214 GB, free: 256 kB / 430.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.003354/0.4138, allocations: 2.626 MB / 0.6239 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4141, allocations: 137 kB / 0.624 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.4141, allocations: 49.47 kB / 0.6241 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.4144, allocations: 126.3 kB / 0.6242 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4144, allocations: 37.91 kB / 0.6243 GB, free: 13.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.4144, allocations: 0 / 0.6243 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004026/0.4148, allocations: 280.8 kB / 0.6245 GB, free: 13.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.4148, allocations: 54.66 kB / 0.6246 GB, free: 13.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.4167, allocations: 1.936 MB / 0.6265 GB, free: 12.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.4168, allocations: 33.7 kB / 0.6265 GB, free: 12.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.4172, allocations: 0.5867 MB / 0.6271 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.4172, allocations: 55.28 kB / 0.6271 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.4173, allocations: 29.7 kB / 0.6272 GB, free: 11.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.4174, allocations: 322 kB / 0.6275 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.4175, allocations: 125.2 kB / 0.6276 GB, free: 11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.4178, allocations: 247.4 kB / 0.6278 GB, free: 10.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.4182, allocations: 339.6 kB / 0.6281 GB, free: 10.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4182, allocations: 4 kB / 0.6281 GB, free: 10.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006455/0.4188, allocations: 496 kB / 0.6286 GB, free: 9.805 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4189, allocations: 8 kB / 0.6286 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.4189, allocations: 4 kB / 0.6286 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4189, allocations: 11.94 kB / 0.6286 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.4194, allocations: 113.2 kB / 0.6287 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005353/0.4199, allocations: 1.192 MB / 0.6299 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.4203, allocations: 79.14 kB / 0.63 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.4204, allocations: 20 kB / 0.63 GB, free: 8.336 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.0003838/0.4208, allocations: 381.5 kB / 0.6304 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4209, allocations: 126.7 kB / 0.6305 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.4213, allocations: 289.4 kB / 0.6308 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4213, allocations: 0 / 0.6308 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4213, allocations: 0 / 0.6308 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4213, allocations: 7.922 kB / 0.6308 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.4221, allocations: 0.6838 MB / 0.6314 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4221, allocations: 0 / 0.6314 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.4223, allocations: 47.91 kB / 0.6315 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4223, allocations: 0 / 0.6315 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4223, allocations: 12 kB / 0.6315 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004895/0.4228, allocations: 1.184 MB / 0.6327 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4228, allocations: 0 / 0.6327 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.4233, allocations: 408.6 kB / 0.633 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.4236, allocations: 251.6 kB / 0.6333 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.4237, allocations: 11.98 kB / 0.6333 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.4241, allocations: 23.92 kB / 0.6333 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.4241, allocations: 11.92 kB / 0.6333 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.4241, allocations: 19.98 kB / 0.6333 GB, free: 4.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.4256, allocations: 1.37 MB / 0.6347 GB, free: 3.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4256, allocations: 4.062 kB / 0.6347 GB, free: 3.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005999/0.4262, allocations: 235.8 kB / 0.6349 GB, free: 3.145 MB / 446.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.001738/0.4279, allocations: 1.392 MB / 0.6363 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.4284, allocations: 247.6 kB / 0.6365 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4284, allocations: 0 / 0.6365 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.4286, allocations: 81.02 kB / 0.6366 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.4301, allocations: 344.9 kB / 0.6369 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.4434, allocations: 12 MB / 0.6486 GB, free: 4.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.4441, allocations: 1.106 MB / 0.6497 GB, free: 3.488 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.4446, allocations: 232.5 kB / 0.6499 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.445, allocations: 407.3 kB / 0.6503 GB, free: 2.859 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.445, allocations: 0 / 0.6503 GB, free: 2.859 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.4846, allocations: 27.58 MB / 0.6773 GB, free: 7.223 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.4849, allocations: 281.1 kB / 0.6775 GB, free: 6.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.619, allocations: 0 / 0.6775 GB, free: 6.852 MB / 494.1 MB (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)