Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipeSegment.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/MEV 1.1.1/package.mo", uses=false) 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.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(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",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.0008225/0.0008227, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007329/0.007329, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.246/1.246, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008212/0.008212, allocations: 1.928 MB / 272.7 MB, free: 3.285 MB / 222.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.0004716/0.0004717, allocations: 12.64 kB / 331.6 MB, free: 32.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06537/0.06585, allocations: 48.1 MB / 379.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002293/0.06818, allocations: 2.189 MB / 381.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.06913, allocations: 0.6715 MB / 382.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.0692, allocations: 0 / 382.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.06925, allocations: 23.83 kB / 382.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.06941, allocations: 51.55 kB / 382.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.0696, allocations: 51.94 kB / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.06982, allocations: 211.4 kB / 382.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.06994, allocations: 41.83 kB / 382.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.07008, allocations: 79.64 kB / 383 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.07021, allocations: 75.62 kB / 383.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.07025, allocations: 8 kB / 383.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.07032, allocations: 19.98 kB / 383.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.07035, allocations: 23.86 kB / 383.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.07046, allocations: 117.2 kB / 383.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.07064, allocations: 163.4 kB / 383.4 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.07065, allocations: 0 / 383.4 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.07066, allocations: 4 kB / 383.4 MB, free: 13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.07067, allocations: 0 / 383.4 MB, free: 13 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006629/0.07134, allocations: 462.8 kB / 383.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.07138, allocations: 12.03 kB / 383.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.07144, allocations: 46.73 kB / 383.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.07148, allocations: 24.69 kB / 383.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.07168, allocations: 216.7 kB / 384.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.07171, allocations: 12.38 kB / 384.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.07174, allocations: 12.38 kB / 384.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.07201, allocations: 137.7 kB / 384.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.07203, allocations: 0 / 384.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.07205, allocations: 8 kB / 384.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.07206, allocations: 8 kB / 384.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.0723, allocations: 107.9 kB / 384.4 MB, free: 11.87 MB / 286.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.0007146/0.07302, allocations: 0.4999 MB / 384.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.07334, allocations: 158.8 kB / 385.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.07357, allocations: 100.8 kB / 385.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.0736, allocations: 4 kB / 385.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.07363, allocations: 34.5 kB / 385.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.07364, allocations: 3.938 kB / 385.2 MB, free: 11 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002548/0.07619, allocations: 0.8505 MB / 386.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.07623, allocations: 59.34 kB / 386.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.0764, allocations: 186.9 kB / 386.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.07642, allocations: 29.64 kB / 386.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.07649, allocations: 120.5 kB / 386.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.07654, allocations: 67.08 kB / 386.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.07658, allocations: 17.72 kB / 386.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.07669, allocations: 322.8 kB / 386.9 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.07681, allocations: 47.97 kB / 386.9 MB, free: 9.203 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.07692, allocations: 51.98 kB / 387 MB, free: 9.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.07717, allocations: 133 kB / 387.1 MB, free: 9.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.07718, allocations: 0 / 387.1 MB, free: 9.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004538/0.07764, allocations: 218.2 kB / 387.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.0777, allocations: 94.12 kB / 387.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.07771, allocations: 0 / 387.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.07831, allocations: 96.77 kB / 387.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.07881, allocations: 75.88 kB / 387.6 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006919/0.07952, allocations: 1.177 MB / 388.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.07964, allocations: 16.08 kB / 388.8 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.07966, allocations: 4.031 kB / 388.8 MB, free: 7.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.07967, allocations: 4 kB / 388.8 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000479/0.08016, allocations: 184.6 kB / 388.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.08017, allocations: 7.938 kB / 389 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.08047, allocations: 76.78 kB / 389 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.08067, allocations: 39.97 kB / 389.1 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.08218, allocations: 1.651 MB / 390.7 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.08229, allocations: 4.031 kB / 390.7 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.0823, allocations: 4.062 kB / 390.7 MB, free: 5.176 MB / 286.1 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.08243, allocations: 205.1 kB / 390.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.08248, allocations: 19.75 kB / 390.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.08306, allocations: 248.1 kB / 391.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.08307, allocations: 7.984 kB / 391.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.08308, allocations: 3.938 kB / 391.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.08309, allocations: 3.984 kB / 391.2 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.08335, allocations: 253.6 kB / 391.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.08336, allocations: 0 / 391.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.08379, allocations: 59.95 kB / 391.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.08431, allocations: 92.77 kB / 391.6 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.08434, allocations: 7.938 kB / 391.6 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006243/0.08497, allocations: 1.185 MB / 392.8 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08498, allocations: 0 / 392.8 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.08565, allocations: 398.2 kB / 393.2 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.08574, allocations: 112.9 kB / 393.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.08577, allocations: 0 / 393.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.0859, allocations: 11.98 kB / 393.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.08596, allocations: 11.98 kB / 393.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.08597, allocations: 4 kB / 393.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.08607, allocations: 132.1 kB / 393.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08608, allocations: 64 / 393.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.08647, allocations: 76 kB / 393.5 MB, free: 2.219 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pipeSegment.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009172/0.0874, allocations: 0.9265 MB / 394.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.08841, allocations: 402.2 kB / 394.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.08842, allocations: 0 / 394.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.08889, allocations: 113.1 kB / 395 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.08921, allocations: 27.92 kB / 395 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.09203, allocations: 2.346 MB / 397.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.09233, allocations: 0.7284 MB / 398.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.577e-05/0.09242, allocations: 17.41 kB / 398.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.09249, allocations: 39.42 kB / 398.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.0925, allocations: 4 kB / 398.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6119/0.7044, allocations: 4.123 MB / 402.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.7046, allocations: 201 kB / 402.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.759, allocations: 0 / 402.4 MB, free: 9.078 MB / 302.1 MB (rm -f MEV_MEV.Test.TestPipeSegment.pipe ; mkfifo MEV_MEV.Test.TestPipeSegment.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipeSegment.pipe >> ../files/MEV_MEV.Test.TestPipeSegment.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipeSegment_fmu --startTime=0 --stopTime=0.002 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)