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.0009102/0.0009103, 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.00667/0.00667, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.452/1.452, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008297/0.008297, allocations: 1.924 MB / 272.7 MB, free: 3.285 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.000495/0.000495, allocations: 12.52 kB / 331.5 MB, free: 32.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07524, allocations: 48.11 MB / 379.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002112/0.0774, allocations: 1.916 MB / 381.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.07845, allocations: 0.6012 MB / 382.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.07853, allocations: 0 / 382.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.07858, allocations: 11.92 kB / 382.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.0787, allocations: 39.62 kB / 382.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.07886, allocations: 23.98 kB / 382.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.07903, allocations: 135.3 kB / 382.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.07915, allocations: 36.83 kB / 382.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.07925, allocations: 43.73 kB / 382.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.07935, allocations: 47.78 kB / 382.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.07937, allocations: 4 kB / 382.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.07943, allocations: 15.98 kB / 382.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.07946, allocations: 15.92 kB / 382.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.07953, allocations: 85.38 kB / 382.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.07966, allocations: 107.5 kB / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.07967, allocations: 0 / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.07968, allocations: 3.984 kB / 382.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.07969, allocations: 0 / 382.7 MB, free: 13.72 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.0004701/0.08017, allocations: 403 kB / 383.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08021, allocations: 8.031 kB / 383.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.08025, allocations: 16.84 kB / 383.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.08044, allocations: 202.4 kB / 383.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.08046, allocations: 8.375 kB / 383.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.08048, allocations: 4.375 kB / 383.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.08068, allocations: 89.97 kB / 383.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.08069, allocations: 3.984 kB / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.08071, allocations: 8 kB / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.08072, allocations: 0 / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.08087, allocations: 71.86 kB / 383.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.08143, allocations: 384.4 kB / 383.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.08187, allocations: 74.48 kB / 383.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.08194, allocations: 24.88 kB / 383.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.08197, allocations: 4 kB / 383.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.082, allocations: 30.56 kB / 384 MB, free: 12.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.08201, allocations: 0 / 384 MB, free: 12.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002697/0.08228, allocations: 101.6 kB / 384.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.08232, allocations: 59.41 kB / 384.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.08249, allocations: 182.6 kB / 384.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.08251, allocations: 25.7 kB / 384.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.08258, allocations: 104 kB / 384.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.0826, allocations: 19.75 kB / 384.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.08263, allocations: 9.719 kB / 384.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.08273, allocations: 326.8 kB / 384.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.0828, allocations: 23.98 kB / 384.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.08286, allocations: 16 kB / 384.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.08299, allocations: 60.89 kB / 384.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.083, allocations: 0 / 384.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001709/0.08317, allocations: 85.59 kB / 385 MB, free: 11.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.08324, allocations: 103.8 kB / 385.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.08325, allocations: 0 / 385.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.08327, allocations: 3.938 kB / 385.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.08335, allocations: 15.98 kB / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.08336, allocations: 0 / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.08343, allocations: 7.906 kB / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.08345, allocations: 4 kB / 385.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.75e-06/0.08346, allocations: 4 kB / 385.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001145/0.08358, allocations: 51.97 kB / 385.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.08359, allocations: 0 / 385.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-06/0.0836, allocations: 0 / 385.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.08366, allocations: 12 kB / 385.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.08367, allocations: 3.938 kB / 385.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.08373, allocations: 19.86 kB / 385.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-06/0.08374, allocations: 0 / 385.2 MB, free: 10.97 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.0001057/0.08385, allocations: 189.1 kB / 385.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.08389, allocations: 15.81 kB / 385.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.08409, allocations: 82.59 kB / 385.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.08411, allocations: 7.938 kB / 385.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.08412, allocations: 0 / 385.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.08413, allocations: 4 kB / 385.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.08455, allocations: 351.4 kB / 385.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.08457, allocations: 0 / 385.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.08462, allocations: 11.94 kB / 385.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.08463, allocations: 0 / 385.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.08465, allocations: 8.062 kB / 385.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.08466, allocations: 8.031 kB / 385.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.08467, allocations: 0 / 385.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.08488, allocations: 184.4 kB / 386 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.08497, allocations: 100.9 kB / 386.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.085, allocations: 3.984 kB / 386.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.08509, allocations: 8 kB / 386.1 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.08513, allocations: 0 / 386.1 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.08514, allocations: 3.938 kB / 386.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.08526, allocations: 144 kB / 386.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08527, allocations: 0 / 386.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.08559, allocations: 36 kB / 386.3 MB, free: 9.723 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.000146/0.08574, allocations: 95.19 kB / 386.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.08598, allocations: 75.91 kB / 386.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.08599, allocations: 0 / 386.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.08605, allocations: 23.92 kB / 386.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.08642, allocations: 15.94 kB / 386.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.08705, allocations: 332.8 kB / 386.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.08736, allocations: 0.7042 MB / 387.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.08742, allocations: 8.422 kB / 387.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.08745, allocations: 11.44 kB / 387.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of SimCode: time 8.41e-07/0.08746, allocations: 0 / 387.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of Templates: time 0.003361/0.09082, allocations: 0.93 MB / 388.5 MB, free: 7.477 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: