Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008106/0.0008106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000853/0.000853, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8616/0.8616, allocations: 158.6 MB / 184.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00589/0.00589, allocations: 1.428 MB / 237.9 MB, free: 13.94 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 352.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.767e-06/1.004e-05, allocations: 6.219 kB / 352.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.001902/0.001912, allocations: 2.661 MB / 355.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.002686, allocations: 0.7459 MB / 355.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.002777, allocations: 8 kB / 355.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.803e-05/0.002835, allocations: 39.56 kB / 355.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.002991, allocations: 118.9 kB / 356 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.003231, allocations: 111.7 kB / 356.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.003441, allocations: 434.8 kB / 356.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003559, allocations: 44.91 kB / 356.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.003731, allocations: 231.5 kB / 356.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.003833, allocations: 131.6 kB / 357 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.00386, allocations: 28 kB / 357 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.003926, allocations: 47.92 kB / 357 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.003956, allocations: 67.73 kB / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.004013, allocations: 115.7 kB / 357.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.004219, allocations: 343 kB / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004221, allocations: 0 / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004222, allocations: 3.938 kB / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004226, allocations: 0 / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000571/0.004797, allocations: 0.5518 MB / 358.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004829, allocations: 15.98 kB / 358.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.004864, allocations: 66.7 kB / 358.2 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.004899, allocations: 36.7 kB / 358.2 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005055, allocations: 197.2 kB / 358.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005068, allocations: 20.88 kB / 358.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.005096, allocations: 28.33 kB / 358.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.005324, allocations: 224.6 kB / 358.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005333, allocations: 8.125 kB / 358.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.005349, allocations: 12.12 kB / 358.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005355, allocations: 11.98 kB / 358.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.005571, allocations: 177.9 kB / 358.9 MB, free: 9.262 MB / 282.7 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.0006494/0.00622, allocations: 0.6462 MB / 359.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.006547, allocations: 282.7 kB / 359.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.006692, allocations: 136.8 kB / 359.9 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.006718, allocations: 7.984 kB / 359.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.015e-05/0.006728, allocations: 42.56 kB / 360 MB, free: 8.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/0.006729, allocations: 0 / 360 MB, free: 8.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002435/0.009164, allocations: 1.316 MB / 361.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.009182, allocations: 59.41 kB / 361.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.009288, allocations: 233.9 kB / 361.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.009301, allocations: 37.69 kB / 361.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.009337, allocations: 128.9 kB / 361.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.009378, allocations: 126.9 kB / 361.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.009432, allocations: 65.66 kB / 361.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.009462, allocations: 334.8 kB / 362.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.009567, allocations: 92.83 kB / 362.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.009662, allocations: 99.7 kB / 362.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.009876, allocations: 237 kB / 362.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009877, allocations: 4 kB / 362.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003956/0.01027, allocations: 394.5 kB / 363.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.01028, allocations: 8 kB / 363.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01029, allocations: 0 / 363.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007091/0.011, allocations: 273.4 kB / 363.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.01124, allocations: 83.88 kB / 363.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000541/0.01178, allocations: 1.862 MB / 365.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.01185, allocations: 8.031 kB / 365.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01187, allocations: 15.98 kB / 365.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001305/0.012, allocations: 184.1 kB / 365.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.579e-05/0.01208, allocations: 95.72 kB / 365.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001915/0.01228, allocations: 213.7 kB / 365.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.01228, allocations: 4 kB / 365.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004806/0.01276, allocations: 434.2 kB / 366.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.01276, allocations: 4 kB / 366.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.01276, allocations: 4 kB / 366.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.0131, allocations: 193.5 kB / 366.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.01322, allocations: 59.95 kB / 366.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.01544, allocations: 3.747 MB / 370.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.01552, allocations: 12.03 kB / 370.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.01554, allocations: 8 kB / 370.3 MB, free: 13.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.01563, allocations: 204.4 kB / 370.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.01566, allocations: 27.81 kB / 370.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.01615, allocations: 406.6 kB / 370.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01615, allocations: 4 kB / 370.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01615, allocations: 96 / 370.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01616, allocations: 7.875 kB / 370.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.0164, allocations: 288.7 kB / 371.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.0164, allocations: 0 / 371.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.01665, allocations: 75.94 kB / 371.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/0.01728, allocations: 253.8 kB / 371.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.01729, allocations: 8 kB / 371.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008019/0.0181, allocations: 1.862 MB / 373.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0181, allocations: 4.219 kB / 373.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.01871, allocations: 0.603 MB / 374 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.01879, allocations: 55.8 kB / 374 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.01881, allocations: 15.88 kB / 374 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.0189, allocations: 8 kB / 374 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.01894, allocations: 19.95 kB / 374.1 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.01895, allocations: 12 kB / 374.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.747e-05/0.01905, allocations: 173.2 kB / 374.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01905, allocations: 0 / 374.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.01941, allocations: 148 kB / 374.4 MB, free: 9.074 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.p) * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008173/0.02023, allocations: 1.143 MB / 375.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009825/0.02121, allocations: 0.7388 MB / 376.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02121, allocations: 4 kB / 376.3 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.02156, allocations: 203.7 kB / 376.5 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.02181, allocations: 39.14 kB / 376.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.0247, allocations: 3.151 MB / 379.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.0248, allocations: 152.3 kB / 379.8 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.703e-05/0.02488, allocations: 30.27 kB / 379.8 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.02496, allocations: 68.48 kB / 379.9 MB, free: 3.383 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02496, allocations: 0 / 379.9 MB, free: 3.383 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.04636, allocations: 8.682 MB / 388.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.459, allocations: 4.062 kB / 388.6 MB, free: 10.65 MB / 314.7 MB " [Timeout remaining time 651] (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipes_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.119592694565654] Failed to read output from testmodel.py, exit status != 0: 8.554048217833042 8.566180528 8.559464381 Calling exit ...