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.001105/0.001106, allocations: 104.3 kB / 16.62 MB, free: 6.812 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.001074/0.001074, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.126/1.126, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2334/0.2334, allocations: 48.83 MB / 319.6 MB, free: 11.27 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.00134/0.00134, allocations: 69.81 kB / 389.6 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07677/0.07812, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3223/0.4004, allocations: 168.5 MB / 0.6029 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.405, allocations: 3.924 MB / 0.6067 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.4053, allocations: 16.72 kB / 0.6067 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.406, allocations: 238.3 kB / 0.6069 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007265/0.4068, allocations: 0.5328 MB / 0.6075 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.4097, allocations: 1.54 MB / 0.609 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.4107, allocations: 1.308 MB / 0.6102 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.4111, allocations: 394.6 kB / 0.6106 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.4116, allocations: 0.5246 MB / 0.6111 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.4121, allocations: 0.5423 MB / 0.6117 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.4122, allocations: 57.62 kB / 0.6117 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.4141, allocations: 1.553 MB / 0.6132 GB, free: 36 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.4145, allocations: 474 kB / 0.6137 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.4149, allocations: 0.5438 MB / 0.6142 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.4166, allocations: 2.018 MB / 0.6162 GB, free: 14.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4166, allocations: 0 / 0.6162 GB, free: 14.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4166, allocations: 4 kB / 0.6162 GB, free: 14.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4166, allocations: 2.75 kB / 0.6162 GB, free: 14.14 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.001865/0.4185, allocations: 1.55 MB / 0.6177 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4186, allocations: 13.3 kB / 0.6177 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.4187, allocations: 99.14 kB / 0.6178 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006473/0.4193, allocations: 185 kB / 0.618 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/0.4203, allocations: 0.859 MB / 0.6188 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.4203, allocations: 37.03 kB / 0.6189 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.4204, allocations: 49.47 kB / 0.6189 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/0.4212, allocations: 0.615 MB / 0.6195 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4213, allocations: 7.984 kB / 0.6195 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.4213, allocations: 31.69 kB / 0.6195 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4213, allocations: 12.59 kB / 0.6196 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.422, allocations: 470.2 kB / 0.62 GB, free: 11.45 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.003594/0.4256, allocations: 2.613 MB / 0.6226 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4258, allocations: 138.6 kB / 0.6227 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.4259, allocations: 48.84 kB / 0.6227 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.4261, allocations: 125 kB / 0.6229 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4262, allocations: 42.56 kB / 0.6229 GB, free: 8.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.4262, allocations: 0 / 0.6229 GB, free: 8.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004649/0.4266, allocations: 280.1 kB / 0.6232 GB, free: 7.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.4267, allocations: 59.34 kB / 0.6232 GB, free: 7.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.4286, allocations: 1.927 MB / 0.6251 GB, free: 5.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4286, allocations: 29.7 kB / 0.6251 GB, free: 5.945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.4291, allocations: 0.5867 MB / 0.6257 GB, free: 5.355 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.4291, allocations: 51.34 kB / 0.6257 GB, free: 5.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4292, allocations: 81.59 kB / 0.6258 GB, free: 5.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.4293, allocations: 325.9 kB / 0.6261 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.4295, allocations: 128.3 kB / 0.6263 GB, free: 4.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.4297, allocations: 239.5 kB / 0.6265 GB, free: 4.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.4301, allocations: 347.5 kB / 0.6268 GB, free: 4.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4301, allocations: 4 kB / 0.6268 GB, free: 4.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006549/0.4308, allocations: 499.6 kB / 0.6273 GB, free: 3.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4308, allocations: 8 kB / 0.6273 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4308, allocations: 8.547 kB / 0.6273 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4308, allocations: 15.94 kB / 0.6273 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.4313, allocations: 103.8 kB / 0.6274 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005605/0.4319, allocations: 1.192 MB / 0.6286 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.4323, allocations: 83.33 kB / 0.6287 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.4324, allocations: 19.98 kB / 0.6287 GB, free: 2.098 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.0003966/0.4328, allocations: 377.6 kB / 0.6291 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4329, allocations: 118.5 kB / 0.6292 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.4333, allocations: 284.2 kB / 0.6294 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4334, allocations: 3.938 kB / 0.6294 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4334, allocations: 8 kB / 0.6294 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4334, allocations: 3.938 kB / 0.6295 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.4341, allocations: 0.6722 MB / 0.6301 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4341, allocations: 0 / 0.6301 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.4344, allocations: 49.44 kB / 0.6302 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4344, allocations: 4 kB / 0.6302 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4344, allocations: 7.984 kB / 0.6302 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005389/0.435, allocations: 1.184 MB / 0.6313 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.435, allocations: 0 / 0.6313 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.4354, allocations: 424.8 kB / 0.6317 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4357, allocations: 247.6 kB / 0.632 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4358, allocations: 256 / 0.632 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.4363, allocations: 23.98 kB / 0.632 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.4363, allocations: 12.55 kB / 0.632 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.4364, allocations: 19.97 kB / 0.632 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.4378, allocations: 1.37 MB / 0.6334 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4378, allocations: 0 / 0.6334 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006437/0.4385, allocations: 235.8 kB / 0.6336 GB, free: 12.93 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.001835/0.4403, allocations: 1.388 MB / 0.6349 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.4408, allocations: 260.2 kB / 0.6352 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4408, allocations: 0 / 0.6352 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.441, allocations: 71.91 kB / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.4425, allocations: 357 kB / 0.6356 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.4562, allocations: 11.97 MB / 0.6473 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.4569, allocations: 1.102 MB / 0.6484 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.4575, allocations: 220.8 kB / 0.6486 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.458, allocations: 407.3 kB / 0.649 GB, free: 12.68 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.458, allocations: 0 / 0.649 GB, free: 12.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/0.5017, allocations: 28.59 MB / 0.6769 GB, free: 8 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.502, allocations: 278 kB / 0.6771 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.847, allocations: 0 / 0.6771 GB, free: 15.62 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)