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.0008309/0.0008309, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004958/0.004958, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.407/1.407, allocations: 205.4 MB / 222.4 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01095/0.01095, allocations: 1.92 MB / 272.7 MB, free: 3.527 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.0004921/0.0004921, allocations: 16.22 kB / 331.6 MB, free: 32.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08559, allocations: 48.09 MB / 379.7 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002235/0.08786, allocations: 1.924 MB / 381.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.08894, allocations: 0.5972 MB / 382.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.08907, allocations: 4 kB / 382.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.08911, allocations: 15.91 kB / 382.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.08926, allocations: 31.7 kB / 382.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.08946, allocations: 39.91 kB / 382.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.08964, allocations: 127.3 kB / 382.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.08977, allocations: 36.88 kB / 382.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.08985, allocations: 39.8 kB / 382.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.08995, allocations: 47.78 kB / 382.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.08997, allocations: 4 kB / 382.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.09003, allocations: 8 kB / 382.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.09006, allocations: 27.8 kB / 382.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.09014, allocations: 77.44 kB / 382.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.09028, allocations: 111.5 kB / 382.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.09029, allocations: 0 / 382.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0903, allocations: 0 / 382.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.09031, allocations: 4 kB / 382.8 MB, free: 13.65 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.0004778/0.09079, allocations: 399 kB / 383.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.09083, allocations: 8.031 kB / 383.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.09089, allocations: 46.73 kB / 383.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.09092, allocations: 8.844 kB / 383.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.09113, allocations: 202.4 kB / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.09115, allocations: 8.375 kB / 383.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.09117, allocations: 8.375 kB / 383.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.09138, allocations: 97.69 kB / 383.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.0914, allocations: 0 / 383.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.09142, allocations: 4 kB / 383.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.09144, allocations: 3.984 kB / 383.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.0916, allocations: 62.78 kB / 383.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.09222, allocations: 392.4 kB / 384 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.09268, allocations: 62.55 kB / 384.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.09276, allocations: 36.81 kB / 384.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.0928, allocations: 0 / 384.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.09284, allocations: 30.56 kB / 384.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.09285, allocations: 0 / 384.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002982/0.09315, allocations: 101.6 kB / 384.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.0932, allocations: 51.41 kB / 384.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.09336, allocations: 186.7 kB / 384.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.09339, allocations: 25.7 kB / 384.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.09346, allocations: 104 kB / 384.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.09348, allocations: 19.75 kB / 384.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.09351, allocations: 9.719 kB / 384.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.09362, allocations: 322.8 kB / 384.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.09369, allocations: 27.86 kB / 385 MB, free: 11.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.09375, allocations: 24 kB / 385 MB, free: 11.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.09387, allocations: 60.95 kB / 385 MB, free: 11.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09388, allocations: 0 / 385 MB, free: 11.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001623/0.09405, allocations: 81.59 kB / 385.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.09411, allocations: 100.9 kB / 385.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.09412, allocations: 0 / 385.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.09415, allocations: 0 / 385.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.09423, allocations: 19.92 kB / 385.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.09425, allocations: 0 / 385.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.09432, allocations: 7.906 kB / 385.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.09433, allocations: 0 / 385.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.09434, allocations: 4 kB / 385.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001114/0.09446, allocations: 52.16 kB / 385.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-06/0.09447, allocations: 0 / 385.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.09448, allocations: 4 kB / 385.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.09454, allocations: 15.98 kB / 385.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.09455, allocations: 3.938 kB / 385.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.0946, allocations: 11.92 kB / 385.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-06/0.09461, allocations: 0 / 385.3 MB, free: 10.86 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 9.731e-05/0.09472, allocations: 197.1 kB / 385.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.09475, allocations: 15.81 kB / 385.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.09494, allocations: 86.59 kB / 385.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.09496, allocations: 3.938 kB / 385.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.09496, allocations: 0 / 385.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.09497, allocations: 0 / 385.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.09533, allocations: 355.4 kB / 386 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.09534, allocations: 4.062 kB / 386 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.0954, allocations: 12 kB / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.09541, allocations: 0 / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.09542, allocations: 7.938 kB / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.09543, allocations: 0 / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09543, allocations: 0 / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.09561, allocations: 184.2 kB / 386.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.09568, allocations: 100.9 kB / 386.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.09571, allocations: 3.984 kB / 386.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.0958, allocations: 7.938 kB / 386.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.09584, allocations: 0 / 386.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.09585, allocations: 4 kB / 386.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.09596, allocations: 148 kB / 386.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.09596, allocations: 0 / 386.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.09626, allocations: 39.84 kB / 386.5 MB, free: 9.602 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.0004188/0.09669, allocations: 0.7131 MB / 387.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.0969, allocations: 75.89 kB / 387.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09691, allocations: 0 / 387.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.09697, allocations: 16 kB / 387.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.09729, allocations: 20.05 kB / 387.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.09897, allocations: 1.719 MB / 389 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.09926, allocations: 0.7081 MB / 389.7 MB, free: 6.215 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.09932, allocations: 16.69 kB / 389.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.09938, allocations: 31.42 kB / 389.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of SimCode: time 3.056e-06/0.09939, allocations: 0 / 389.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5087/0.6081, allocations: 2.189 MB / 392 MB, free: 3.977 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.6084, allocations: 147.3 kB / 392.1 MB, free: 3.727 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.525, allocations: 4 kB / 392.1 MB, free: 3.723 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)