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.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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007135/0.0007135, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007918/0.0007919, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006696/0.006696, allocations: 1.924 MB / 272.3 MB, free: 3.629 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.0004876/0.0004877, allocations: 23.94 kB / 331 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06695/0.06745, allocations: 48.09 MB / 379.1 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002504/0.06999, allocations: 2.846 MB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.07114, allocations: 0.8085 MB / 382.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.0713, allocations: 4 kB / 382.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.915e-05/0.07137, allocations: 43.59 kB / 382.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.07163, allocations: 150.8 kB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.07185, allocations: 75.84 kB / 383 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.07216, allocations: 383 kB / 383.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.07228, allocations: 49.19 kB / 383.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.07243, allocations: 139.4 kB / 383.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.07261, allocations: 147.4 kB / 383.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.07264, allocations: 16 kB / 383.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.07272, allocations: 23.98 kB / 383.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.07277, allocations: 55.75 kB / 383.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.07284, allocations: 81.58 kB / 383.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.07304, allocations: 227.4 kB / 384.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.07305, allocations: 0 / 384.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07305, allocations: 0 / 384.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.07306, allocations: 0 / 384.1 MB, free: 12.08 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007783/0.07385, allocations: 0.5728 MB / 384.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.07388, allocations: 12.03 kB / 384.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.07394, allocations: 62.53 kB / 384.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.074, allocations: 35.56 kB / 384.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.07422, allocations: 254.4 kB / 385 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.07424, allocations: 20.52 kB / 385.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.07428, allocations: 24 kB / 385.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.07465, allocations: 236.9 kB / 385.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.07467, allocations: 0 / 385.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.0747, allocations: 8 kB / 385.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.07471, allocations: 4 kB / 385.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.07503, allocations: 182.2 kB / 385.5 MB, free: 10.58 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.0009797/0.07602, allocations: 0.7562 MB / 386.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.07654, allocations: 310.7 kB / 386.6 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.07678, allocations: 149.3 kB / 386.7 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.07682, allocations: 11.97 kB / 386.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.07685, allocations: 38.56 kB / 386.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.07686, allocations: 7.938 kB / 386.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.004277/0.08114, allocations: 1.547 MB / 388.3 MB, free: 7.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.08119, allocations: 55.41 kB / 388.4 MB, free: 7.531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.08141, allocations: 229 kB / 388.6 MB, free: 7.297 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.08145, allocations: 33.7 kB / 388.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.08153, allocations: 132.9 kB / 388.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.08163, allocations: 122.2 kB / 388.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.08166, allocations: 12 kB / 388.9 MB, free: 6.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.08179, allocations: 330.8 kB / 389.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.08197, allocations: 87.97 kB / 389.3 MB, free: 6.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.08215, allocations: 103.5 kB / 389.4 MB, free: 6.473 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.08234, allocations: 100 kB / 389.5 MB, free: 6.375 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.08235, allocations: 0 / 389.5 MB, free: 6.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006774/0.08303, allocations: 379 kB / 389.9 MB, free: 5.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.0831, allocations: 95.31 kB / 389.9 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.08312, allocations: 0 / 389.9 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.08449, allocations: 269.4 kB / 390.2 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.08497, allocations: 87.88 kB / 390.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.0861, allocations: 1.866 MB / 392.2 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.08627, allocations: 12.03 kB / 392.2 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.0863, allocations: 11.98 kB / 392.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.08631, allocations: 8.156 kB / 392.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008654/0.08718, allocations: 392.7 kB / 392.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.0872, allocations: 4 kB / 392.6 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.08787, allocations: 205.5 kB / 392.8 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.08812, allocations: 55.97 kB / 392.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.09144, allocations: 3.599 MB / 396.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.0916, allocations: 8.031 kB / 396.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.09162, allocations: 8 kB / 396.5 MB, free: 15.02 MB / 302.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.09178, allocations: 228.4 kB / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.09184, allocations: 27.62 kB / 396.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.0926, allocations: 422.5 kB / 397.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.09262, allocations: 4 kB / 397.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.09263, allocations: 4 kB / 397.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.09264, allocations: 0 / 397.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.093, allocations: 357.4 kB / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.09301, allocations: 0 / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.09346, allocations: 71.95 kB / 397.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.09463, allocations: 253.5 kB / 397.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.09467, allocations: 11.95 kB / 397.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.09576, allocations: 1.866 MB / 399.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.09577, allocations: 0 / 399.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008607/0.09664, allocations: 0.5954 MB / 400.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.09676, allocations: 136.7 kB / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.09681, allocations: 8 kB / 400.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.09699, allocations: 19.92 kB / 400.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.09704, allocations: 15.97 kB / 400.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.09706, allocations: 16.06 kB / 400.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.09719, allocations: 164.5 kB / 400.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0972, allocations: 0 / 400.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.09772, allocations: 140 kB / 400.8 MB, free: 10.53 MB / 302.1 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.09886, allocations: 1.163 MB / 401.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.1004, allocations: 0.763 MB / 402.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1004, allocations: 0 / 402.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.101, allocations: 215.7 kB / 402.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1014, allocations: 36.89 kB / 402.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.1044, allocations: 1.975 MB / 404.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1047, allocations: 0.7681 MB / 405.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1048, allocations: 30.27 kB / 405.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.1049, allocations: 67.42 kB / 405.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1049, allocations: 0 / 405.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1224, allocations: 7.237 MB / 413 MB, free: 14.13 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.1226, allocations: 176.9 kB / 413.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.774, allocations: 0 / 413.2 MB, free: 13.88 MB / 318.1 MB (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/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1) Environment - environmentSimulation: