Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",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.002962/0.002962, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004228/0.004227, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.484/3.484, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.02863/0.02863, allocations: 1.932 MB / 271.7 MB, free: 3.344 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.003017/0.003018, allocations: 64.47 kB / 329.9 MB, free: 32.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2897, allocations: 47.13 MB / 377.1 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.0113/0.3012, allocations: 1.96 MB / 379 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.3052, allocations: 0.5738 MB / 379.6 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.3059, allocations: 4 kB / 379.6 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3062, allocations: 15.84 kB / 379.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.3066, allocations: 47.56 kB / 379.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.3076, allocations: 39.95 kB / 379.7 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.3085, allocations: 135.3 kB / 379.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006917/0.3092, allocations: 32.83 kB / 379.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.3094, allocations: 55.73 kB / 379.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3096, allocations: 51.77 kB / 380 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.3096, allocations: 8 kB / 380 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.3097, allocations: 19.98 kB / 380 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.3098, allocations: 19.92 kB / 380 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3099, allocations: 59.67 kB / 380.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.3105, allocations: 107.6 kB / 380.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.234e-05/0.3106, allocations: 4 kB / 380.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.3106, allocations: 0 / 380.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.3106, allocations: 0 / 380.2 MB, free: 14.38 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00196/0.3126, allocations: 418.9 kB / 380.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.12e-05/0.3127, allocations: 15.89 kB / 380.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.594e-05/0.3128, allocations: 38.73 kB / 380.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.3129, allocations: 12.84 kB / 380.7 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3132, allocations: 214.1 kB / 380.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3133, allocations: 8.375 kB / 380.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3133, allocations: 4.375 kB / 380.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.314, allocations: 89.78 kB / 381 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.3141, allocations: 0 / 381 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.3142, allocations: 8 kB / 381 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.3142, allocations: 4 kB / 381 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.3147, allocations: 55.91 kB / 381 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.3165, allocations: 392.4 kB / 381.4 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.3174, allocations: 74.47 kB / 381.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3177, allocations: 16.86 kB / 381.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.962e-05/0.3178, allocations: 0 / 381.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.318, allocations: 34.64 kB / 381.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 5.21e-06/0.318, allocations: 0 / 381.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.001157/0.3192, allocations: 101.5 kB / 381.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.3195, allocations: 55.41 kB / 381.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.3199, allocations: 178.7 kB / 381.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.32, allocations: 25.7 kB / 381.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.3201, allocations: 104 kB / 382 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3201, allocations: 23.73 kB / 382 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.3202, allocations: 17.72 kB / 382 MB, free: 12.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3204, allocations: 322.8 kB / 382.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3205, allocations: 24.84 kB / 382.4 MB, free: 11.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3208, allocations: 23.98 kB / 382.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.3212, allocations: 44.84 kB / 382.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.3213, allocations: 0 / 382.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007248/0.3221, allocations: 89.52 kB / 382.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.3222, allocations: 11.88 kB / 382.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.3223, allocations: 0 / 382.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-05/0.3223, allocations: 192 / 382.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.3226, allocations: 16 kB / 382.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.3227, allocations: 0 / 382.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.323, allocations: 15.89 kB / 382.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.3231, allocations: 7.922 kB / 382.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001949/0.3233, allocations: 104.1 kB / 382.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.823e-05/0.3234, allocations: 12 kB / 382.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001057/0.3235, allocations: 41.16 kB / 382.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.22e-07/0.3235, allocations: 0 / 382.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002087/0.3237, allocations: 93.52 kB / 382.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3237, allocations: 6.969 kB / 382.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-07/0.3237, allocations: 0 / 382.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3237, allocations: 3.938 kB / 382.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3238, allocations: 8 kB / 382.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3238, allocations: 3.984 kB / 382.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.3239, allocations: 15.92 kB / 382.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-06/0.3239, allocations: 0 / 382.9 MB, free: 11.46 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.324, allocations: 181.1 kB / 383.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3241, allocations: 19.75 kB / 383.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.3248, allocations: 86.53 kB / 383.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/0.3249, allocations: 0 / 383.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.3249, allocations: 0 / 383.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.325, allocations: 0 / 383.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3265, allocations: 351.3 kB / 383.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.3266, allocations: 0 / 383.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.3267, allocations: 12.03 kB / 383.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3267, allocations: 0 / 383.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3267, allocations: 4 kB / 383.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3268, allocations: 0 / 383.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3268, allocations: 0 / 383.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.327, allocations: 184.1 kB / 383.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.3271, allocations: 93 kB / 383.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3272, allocations: 0 / 383.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.3273, allocations: 11.98 kB / 383.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3273, allocations: 0 / 383.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3273, allocations: 0 / 383.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.3278, allocations: 140 kB / 383.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3279, allocations: 0 / 383.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000606/0.3285, allocations: 43.91 kB / 384 MB, free: 10.24 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.33, allocations: 0.7092 MB / 384.7 MB, free: 9.504 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.3302, allocations: 67.91 kB / 384.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3302, allocations: 0 / 384.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.3303, allocations: 23.98 kB / 384.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3313, allocations: 16.31 kB / 384.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005603/0.337, allocations: 1.672 MB / 386.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.3378, allocations: 0.7041 MB / 387.2 MB, free: 6.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.3379, allocations: 12.69 kB / 387.2 MB, free: 6.898 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.338, allocations: 31.42 kB / 387.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of SimCode: time 1.593e-06/0.338, allocations: 0 / 387.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06334/0.4013, allocations: 2.416 MB / 389.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/18.38, allocations: 0 / 389.6 MB, free: 4.391 MB / 286.1 MB (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)