Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",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.0007201/0.0007201, allocations: 83.66 kB / 16.31 MB, free: 6.449 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.0008237/0.0008237, allocations: 179.7 kB / 17.21 MB, free: 6.32 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.546/1.546, allocations: 205.4 MB / 223.4 MB, free: 5.242 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4348/0.4348, allocations: 48.77 MB / 320.4 MB, free: 3.875 MB / 254.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.001061/0.001061, allocations: 15.98 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1489, allocations: 60.26 MB / 451.5 MB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.2499/0.3989, allocations: 33.25 MB / 484.8 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0098/0.4087, allocations: 8.213 MB / 493 MB, free: 23.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/0.4097, allocations: 19.94 kB / 493 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.4103, allocations: 134.3 kB / 493.1 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.4115, allocations: 326.5 kB / 493.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.4253, allocations: 3.449 MB / 496.9 MB, free: 21.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.4269, allocations: 0.9382 MB / 497.9 MB, free: 21.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.4275, allocations: 307.6 kB / 498.2 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.4294, allocations: 0.841 MB / 499 MB, free: 20.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.4302, allocations: 448.8 kB / 499.4 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.4302, allocations: 26.34 kB / 499.5 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/0.4455, allocations: 5.957 MB / 0.4936 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.4457, allocations: 99.7 kB / 0.4937 GB, free: 18.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.4462, allocations: 135.8 kB / 0.4938 GB, free: 18.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006866/0.4531, allocations: 2.683 MB / 0.4964 GB, free: 16.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4531, allocations: 5.125 kB / 0.4964 GB, free: 16.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4531, allocations: 0 / 0.4964 GB, free: 16.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4531, allocations: 0 / 0.4964 GB, free: 16.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004915/0.4581, allocations: 1.161 MB / 0.4976 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.4581, allocations: 9.531 kB / 0.4976 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.4582, allocations: 86.22 kB / 0.4976 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.4585, allocations: 75.23 kB / 0.4977 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.4591, allocations: 373.6 kB / 0.4981 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.4592, allocations: 63.83 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.4593, allocations: 60.06 kB / 0.4982 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.4603, allocations: 0.5277 MB / 0.4987 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.4604, allocations: 1.062 kB / 0.4987 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.4604, allocations: 20.41 kB / 0.4987 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4604, allocations: 11.47 kB / 0.4987 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.4613, allocations: 418.1 kB / 0.4991 GB, free: 14.55 MB / 382.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.002478/0.4638, allocations: 2.065 MB / 0.5012 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.4645, allocations: 341 kB / 0.5015 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.4649, allocations: 174.9 kB / 0.5016 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05866/0.5236, allocations: 32.3 MB / 0.5332 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.54e-05/0.5237, allocations: 34.56 kB / 0.5332 GB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/0.5237, allocations: 0 / 0.5332 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.005008/0.5287, allocations: 1.671 MB / 0.5349 GB, free: 8.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.5288, allocations: 55.41 kB / 0.5349 GB, free: 8.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.5294, allocations: 369.7 kB / 0.5353 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.5294, allocations: 37.7 kB / 0.5353 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.5297, allocations: 256.2 kB / 0.5355 GB, free: 8.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.5299, allocations: 130 kB / 0.5357 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.5299, allocations: 12 kB / 0.5357 GB, free: 8.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.5301, allocations: 354.7 kB / 0.536 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.5305, allocations: 144.7 kB / 0.5361 GB, free: 7.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.5309, allocations: 198.6 kB / 0.5363 GB, free: 7.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.5313, allocations: 157.5 kB / 0.5365 GB, free: 7.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5313, allocations: 0 / 0.5365 GB, free: 7.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001083/0.5324, allocations: 490.3 kB / 0.537 GB, free: 6.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.5325, allocations: 138.2 kB / 0.5371 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5325, allocations: 0 / 0.5371 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.5331, allocations: 100.8 kB / 0.5372 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.5335, allocations: 87.89 kB / 0.5373 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/0.5342, allocations: 0.6357 MB / 0.5379 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.5345, allocations: 45.98 kB / 0.5379 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.5346, allocations: 19.98 kB / 0.538 GB, free: 5.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.5346, allocations: 4 kB / 0.538 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008865/0.5355, allocations: 424.9 kB / 0.5384 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.5355, allocations: 0 / 0.5384 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.5357, allocations: 60.84 kB / 0.5384 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.5361, allocations: 99.88 kB / 0.5385 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.5379, allocations: 1.626 MB / 0.5401 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.5382, allocations: 43.91 kB / 0.5401 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5383, allocations: 17.09 kB / 0.5402 GB, free: 3.246 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003228/0.5386, allocations: 249 kB / 0.5404 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.5387, allocations: 43.44 kB / 0.5404 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.54, allocations: 0.722 MB / 0.5411 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.54, allocations: 4 kB / 0.5411 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.54, allocations: 1.875 kB / 0.5412 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.54, allocations: 3.984 kB / 0.5412 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.5421, allocations: 1.429 MB / 0.5425 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5422, allocations: 0 / 0.5425 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.5425, allocations: 92.02 kB / 0.5426 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.5431, allocations: 365.8 kB / 0.543 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.5432, allocations: 8 kB / 0.543 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007334/0.5439, allocations: 0.8338 MB / 0.5438 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5439, allocations: 4.125 kB / 0.5438 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.5456, allocations: 1.021 MB / 0.5448 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.5458, allocations: 144.5 kB / 0.5449 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.5458, allocations: 15.95 kB / 0.545 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.5461, allocations: 39.97 kB / 0.545 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.5462, allocations: 27.91 kB / 0.545 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.5463, allocations: 21.73 kB / 0.545 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.5466, allocations: 255.2 kB / 0.5453 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5466, allocations: 0 / 0.5453 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004365/0.5509, allocations: 0.9761 MB / 0.5462 GB, free: 12.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00711/0.5581, allocations: 2.296 MB / 0.5485 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.5598, allocations: 0.7341 MB / 0.5492 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5599, allocations: 0 / 0.5492 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.5604, allocations: 262.7 kB / 0.5495 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5615, allocations: 169.5 kB / 0.5496 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.5682, allocations: 3.398 MB / 0.5529 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.5687, allocations: 0.8592 MB / 0.5538 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.5691, allocations: 96.03 kB / 0.5539 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5694, allocations: 183.4 kB / 0.554 GB, free: 4.703 MB / 430.1 MB Notification: Performance of SimCode: time 1.753e-06/0.5694, allocations: 0 / 0.554 GB, free: 4.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07045/0.6399, allocations: 40.67 MB / 0.5938 GB, free: 12.05 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.6401, allocations: 208.3 kB / 0.594 GB, free: 11.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/4.623, allocations: 0 / 0.594 GB, free: 11.81 MB / 478.1 MB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1) Environment - environmentSimulation: