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.004625/0.004625, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001112/0.001112, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.293/1.293, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008535/0.008535, allocations: 1.931 MB / 271.8 MB, free: 3.281 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.001486/0.001486, allocations: 67.91 kB / 377.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07352/0.07502, allocations: 47.13 MB / 424.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.1591/0.2342, allocations: 1.948 MB / 426.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.2351, allocations: 0.5724 MB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.2352, allocations: 3.219 kB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.2353, allocations: 16.16 kB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2354, allocations: 45.36 kB / 427.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2356, allocations: 39.16 kB / 427.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2358, allocations: 141.7 kB / 427.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2359, allocations: 32.17 kB / 427.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.236, allocations: 47.64 kB / 427.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.2361, allocations: 59.88 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2361, allocations: 8.031 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.2362, allocations: 14.44 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.2362, allocations: 19.98 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.2363, allocations: 63.84 kB / 427.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.2364, allocations: 109 kB / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2365, allocations: 3.25 kB / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2365, allocations: 1.094 kB / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2365, allocations: 4.531 kB / 428 MB, free: 10.31 MB / 318.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.0004754/0.2369, allocations: 421.5 kB / 428.4 MB, free: 9.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.237, allocations: 14.02 kB / 428.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.237, allocations: 43.95 kB / 428.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2371, allocations: 14.78 kB / 428.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2372, allocations: 202.2 kB / 428.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2372, allocations: 4.438 kB / 428.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2373, allocations: 11.78 kB / 428.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2375, allocations: 93.56 kB / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2375, allocations: 0.8125 kB / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2375, allocations: 3.75 kB / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2375, allocations: 2.25 kB / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2376, allocations: 53.52 kB / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.2381, allocations: 389.2 kB / 429.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.2386, allocations: 67.12 kB / 429.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.2386, allocations: 21.88 kB / 429.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2387, allocations: 5.031 kB / 429.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.2387, allocations: 35.48 kB / 429.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2387, allocations: 1.344 kB / 429.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000243/0.2389, allocations: 90.05 kB / 429.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.239, allocations: 52.75 kB / 429.5 MB, free: 9.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2391, allocations: 183.9 kB / 429.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.2391, allocations: 26.83 kB / 429.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.2392, allocations: 116.4 kB / 429.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.2392, allocations: 10.48 kB / 429.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.2392, allocations: 24.88 kB / 429.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.2393, allocations: 320.1 kB / 430.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.2393, allocations: 28.23 kB / 430.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.2394, allocations: 26.08 kB / 430.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.2395, allocations: 45.47 kB / 430.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2395, allocations: 0 / 430.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001572/0.2397, allocations: 85.12 kB / 430.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2397, allocations: 16.75 kB / 430.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2397, allocations: 4.703 kB / 430.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2397, allocations: 5.312 kB / 430.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.2398, allocations: 11.92 kB / 430.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2398, allocations: 0.9375 kB / 430.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.2399, allocations: 8.922 kB / 430.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.2399, allocations: 5.125 kB / 430.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.903e-05/0.24, allocations: 106 kB / 430.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.307e-05/0.2401, allocations: 15.09 kB / 430.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.815e-05/0.2402, allocations: 41.11 kB / 430.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.51e-07/0.2402, allocations: 4 kB / 430.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001589/0.2403, allocations: 80.39 kB / 430.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.2403, allocations: 5.5 kB / 430.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2404, allocations: 2.172 kB / 430.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.2404, allocations: 4.844 kB / 430.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.2404, allocations: 15.25 kB / 430.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.2404, allocations: 0 / 430.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.2405, allocations: 7.969 kB / 430.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2405, allocations: 1.469 kB / 430.7 MB, free: 8.352 MB / 318.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 5.395e-05/0.2406, allocations: 186.1 kB / 430.8 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2406, allocations: 13.28 kB / 430.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.2408, allocations: 84.78 kB / 430.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.2408, allocations: 1.891 kB / 430.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2408, allocations: 2.938 kB / 430.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2408, allocations: 1.953 kB / 430.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.2412, allocations: 356.9 kB / 431.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2412, allocations: 0 / 431.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.2412, allocations: 8.797 kB / 431.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2412, allocations: 1.25 kB / 431.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2413, allocations: 1.969 kB / 431.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2413, allocations: 3.938 kB / 431.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2413, allocations: 1.469 kB / 431.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.2414, allocations: 177.8 kB / 431.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.2415, allocations: 97.58 kB / 431.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2415, allocations: 2.016 kB / 431.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.2416, allocations: 3.156 kB / 431.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.2417, allocations: 7.625 kB / 431.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2417, allocations: 1.5 kB / 431.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.2418, allocations: 140.2 kB / 431.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2418, allocations: 0 / 431.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.2421, allocations: 46.59 kB / 431.8 MB, free: 7.453 MB / 318.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.0003015/0.2424, allocations: 0.7109 MB / 432.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.2426, allocations: 70.59 kB / 432.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2426, allocations: 0 / 432.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.2427, allocations: 17.64 kB / 432.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.243, allocations: 11.19 kB / 432.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2444, allocations: 1.673 MB / 434.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2446, allocations: 0.7008 MB / 435 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.2446, allocations: 8.391 kB / 435 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.2447, allocations: 30.42 kB / 435 MB, free: 4.785 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2447, allocations: 0 / 435 MB, free: 4.785 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.2629, allocations: 2.513 MB / 437.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.556, allocations: 1.906 kB / 437.5 MB, free: 4.246 MB / 318.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)