Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",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.000662/0.000662, allocations: 90.19 kB / 16.65 MB, free: 6.582 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.0007142/0.0007142, allocations: 186.8 kB / 17.57 MB, free: 6.199 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.129/1.129, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.232/0.232, allocations: 48.77 MB / 320.8 MB, free: 11.2 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.0004571/0.0004572, allocations: 13.36 kB / 391.9 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07562, allocations: 60.27 MB / 452.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3138/0.3894, allocations: 166.5 MB / 0.6042 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.3941, allocations: 3.969 MB / 0.608 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.3945, allocations: 9.75 kB / 0.6081 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007441/0.3953, allocations: 252.4 kB / 0.6083 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.3963, allocations: 0.5333 MB / 0.6088 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.3996, allocations: 1.5 MB / 0.6103 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4011, allocations: 1.731 MB / 0.612 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.4017, allocations: 350.8 kB / 0.6123 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.4024, allocations: 461.7 kB / 0.6127 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007144/0.4031, allocations: 0.5305 MB / 0.6133 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.4032, allocations: 29.75 kB / 0.6133 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.4046, allocations: 0.8325 MB / 0.6141 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.405, allocations: 435.6 kB / 0.6145 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005361/0.4055, allocations: 0.5337 MB / 0.615 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.407, allocations: 1.565 MB / 0.6166 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.407, allocations: 2.938 kB / 0.6166 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.407, allocations: 4 kB / 0.6166 GB, free: 3.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.407, allocations: 0 / 0.6166 GB, free: 3.492 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001606/0.4086, allocations: 1.276 MB / 0.6178 GB, free: 2.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.4087, allocations: 8.406 kB / 0.6178 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.4088, allocations: 101.3 kB / 0.6179 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.4094, allocations: 177.4 kB / 0.6181 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009347/0.4103, allocations: 0.8563 MB / 0.6189 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.4104, allocations: 39.06 kB / 0.619 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.4104, allocations: 52.88 kB / 0.619 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008598/0.4113, allocations: 0.6292 MB / 0.6196 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4113, allocations: 7.938 kB / 0.6196 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.4114, allocations: 32.38 kB / 0.6197 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4114, allocations: 10.88 kB / 0.6197 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.412, allocations: 497.2 kB / 0.6202 GB, free: 1.031 MB / 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.003396/0.4154, allocations: 2.584 MB / 0.6227 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4157, allocations: 212.2 kB / 0.6229 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4158, allocations: 79.14 kB / 0.623 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.4161, allocations: 110.2 kB / 0.6231 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.4161, allocations: 40.34 kB / 0.6231 GB, free: 14.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.4161, allocations: 0 / 0.6231 GB, free: 14.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005431/0.4167, allocations: 352.4 kB / 0.6234 GB, free: 14.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.4167, allocations: 54.41 kB / 0.6235 GB, free: 14.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.4185, allocations: 1.908 MB / 0.6254 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.4185, allocations: 33.7 kB / 0.6254 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.419, allocations: 0.5676 MB / 0.6259 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.419, allocations: 79 kB / 0.626 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.4191, allocations: 37.7 kB / 0.6261 GB, free: 12.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.4192, allocations: 329.8 kB / 0.6264 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4194, allocations: 133.6 kB / 0.6265 GB, free: 12.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.4196, allocations: 238 kB / 0.6267 GB, free: 11.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.42, allocations: 334.4 kB / 0.627 GB, free: 11.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4201, allocations: 4 kB / 0.627 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007058/0.4208, allocations: 0.5039 MB / 0.6275 GB, free: 11.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4208, allocations: 8 kB / 0.6275 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4208, allocations: 4 kB / 0.6275 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4208, allocations: 7.938 kB / 0.6276 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4213, allocations: 125.3 kB / 0.6277 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008217/0.4222, allocations: 1.789 MB / 0.6294 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.4226, allocations: 71.2 kB / 0.6295 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.4227, allocations: 31.91 kB / 0.6295 GB, free: 9 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.4231, allocations: 381.8 kB / 0.6299 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.4232, allocations: 122.5 kB / 0.63 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.4237, allocations: 349.7 kB / 0.6303 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4237, allocations: 0 / 0.6303 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4237, allocations: 4 kB / 0.6303 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4238, allocations: 0 / 0.6303 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.4245, allocations: 0.7107 MB / 0.631 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4245, allocations: 0 / 0.631 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.4248, allocations: 75.89 kB / 0.6311 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4249, allocations: 4 kB / 0.6311 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4249, allocations: 3.984 kB / 0.6311 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000782/0.4257, allocations: 1.781 MB / 0.6329 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4257, allocations: 3.938 kB / 0.6329 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.4262, allocations: 0.4886 MB / 0.6333 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.4265, allocations: 255.8 kB / 0.6336 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.4266, allocations: 8 kB / 0.6336 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.4271, allocations: 27.83 kB / 0.6336 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.4271, allocations: 15.98 kB / 0.6336 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.4272, allocations: 23.97 kB / 0.6336 GB, free: 4.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.4286, allocations: 1.362 MB / 0.635 GB, free: 3.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4286, allocations: 0 / 0.635 GB, free: 3.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006536/0.4293, allocations: 235.7 kB / 0.6352 GB, free: 2.996 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.4311, allocations: 1.431 MB / 0.6366 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.4317, allocations: 283.6 kB / 0.6369 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4317, allocations: 0.875 kB / 0.6369 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.432, allocations: 115.9 kB / 0.637 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.4337, allocations: 368.7 kB / 0.6373 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.4475, allocations: 12.16 MB / 0.6492 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.4481, allocations: 1.11 MB / 0.6503 GB, free: 3.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006629/0.4488, allocations: 236.6 kB / 0.6505 GB, free: 2.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.4492, allocations: 407.2 kB / 0.6509 GB, free: 2.441 MB / 462.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4493, allocations: 0 / 0.6509 GB, free: 2.441 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.4894, allocations: 28.06 MB / 0.6783 GB, free: 6.316 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.4896, allocations: 273.4 kB / 0.6786 GB, free: 5.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.614, allocations: 0 / 0.6786 GB, free: 5.957 MB / 494.1 MB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)