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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009773/0.0009774, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000957/0.0009571, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.166/1.166, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007644/0.007645, allocations: 1.932 MB / 271.4 MB, free: 3.496 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.001188/0.001188, allocations: 67.84 kB / 329.3 MB, free: 33.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06337/0.06457, allocations: 47.14 MB / 376.5 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002892/0.0675, allocations: 2.282 MB / 378.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.06832, allocations: 0.605 MB / 379.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.06841, allocations: 4 kB / 379.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.06848, allocations: 11.91 kB / 379.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.06859, allocations: 35.69 kB / 379.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.06878, allocations: 35.91 kB / 379.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.06894, allocations: 135.3 kB / 379.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.06907, allocations: 40.83 kB / 379.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.06915, allocations: 47.78 kB / 379.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.06925, allocations: 55.72 kB / 379.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.06927, allocations: 8 kB / 379.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.06934, allocations: 15.98 kB / 379.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.06936, allocations: 19.88 kB / 379.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.06942, allocations: 55.73 kB / 379.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.06957, allocations: 123.6 kB / 379.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.06958, allocations: 0 / 379.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.06959, allocations: 0 / 379.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.0696, allocations: 0 / 379.9 MB, free: 14.48 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.0004745/0.07008, allocations: 415 kB / 380.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.07011, allocations: 11.89 kB / 380.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.07016, allocations: 16.75 kB / 380.4 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.07032, allocations: 210.2 kB / 380.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.07034, allocations: 4.375 kB / 380.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.07036, allocations: 12.38 kB / 380.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.07053, allocations: 93.91 kB / 380.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.07055, allocations: 0 / 380.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.07057, allocations: 4 kB / 380.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.07057, allocations: 0 / 380.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.07071, allocations: 55.97 kB / 380.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.07119, allocations: 388.5 kB / 381.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.07162, allocations: 66.53 kB / 381.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.07168, allocations: 24.88 kB / 381.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.07171, allocations: 4 kB / 381.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.07173, allocations: 38.56 kB / 381.2 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.07174, allocations: 0 / 381.2 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000241/0.07198, allocations: 85.52 kB / 381.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.07202, allocations: 51.41 kB / 381.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.07217, allocations: 182.6 kB / 381.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.07219, allocations: 29.7 kB / 381.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.07225, allocations: 108 kB / 381.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.07227, allocations: 15.75 kB / 381.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.07232, allocations: 33.64 kB / 381.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.07241, allocations: 318.8 kB / 382 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.07248, allocations: 28.8 kB / 382.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.07253, allocations: 19.98 kB / 382.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.07263, allocations: 48.97 kB / 382.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.07264, allocations: 0 / 382.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001572/0.0728, allocations: 89.58 kB / 382.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.07283, allocations: 6.969 kB / 382.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.07284, allocations: 7.938 kB / 382.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.07285, allocations: 0 / 382.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.07293, allocations: 15.92 kB / 382.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.07294, allocations: 0 / 382.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.07301, allocations: 7.906 kB / 382.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.07302, allocations: 0 / 382.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.528e-05/0.07311, allocations: 104.1 kB / 382.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.696e-05/0.07315, allocations: 19.98 kB / 382.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.071e-05/0.07324, allocations: 44.84 kB / 382.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.71e-07/0.07325, allocations: 0 / 382.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001257/0.07338, allocations: 73.59 kB / 382.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.07339, allocations: 4 kB / 382.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.0734, allocations: 0 / 382.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.07341, allocations: 7.938 kB / 382.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.07347, allocations: 19.92 kB / 382.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-06/0.07347, allocations: 0 / 382.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.07353, allocations: 8 kB / 382.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.07354, allocations: 3.938 kB / 382.6 MB, free: 11.62 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 7.83e-05/0.07362, allocations: 177.1 kB / 382.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.07366, allocations: 16 kB / 382.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.07383, allocations: 90.7 kB / 382.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.07384, allocations: 0 / 382.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.07385, allocations: 8 kB / 382.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.07386, allocations: 3.938 kB / 382.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.0742, allocations: 351.4 kB / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.07422, allocations: 0 / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.07427, allocations: 11.94 kB / 383.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.07428, allocations: 0 / 383.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.07429, allocations: 3.938 kB / 383.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.0743, allocations: 3.984 kB / 383.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0743, allocations: 0 / 383.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.07446, allocations: 184.2 kB / 383.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.07453, allocations: 89.02 kB / 383.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.07456, allocations: 7.984 kB / 383.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.07464, allocations: 0 / 383.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.07467, allocations: 4 kB / 383.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.07468, allocations: 0 / 383.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.63e-05/0.07478, allocations: 148 kB / 383.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07479, allocations: 0 / 383.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.07508, allocations: 39.91 kB / 383.7 MB, free: 10.39 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 9.175e-05/0.07518, allocations: 91.19 kB / 383.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.07538, allocations: 71.89 kB / 383.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.07539, allocations: 0 / 383.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.07544, allocations: 16 kB / 383.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.07571, allocations: 19.98 kB / 383.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.07616, allocations: 300.7 kB / 384.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.07639, allocations: 0.7039 MB / 384.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.07644, allocations: 16.41 kB / 384.9 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.07647, allocations: 15.44 kB / 384.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.07648, allocations: 0 / 384.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of Templates: time 0.002647/0.07913, allocations: 0.9846 MB / 385.9 MB, free: 8.121 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (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 & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)