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.000797/0.0007971, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008248/0.0008248, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00697/0.00697, allocations: 1.92 MB / 272.3 MB, free: 3.5 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.0004253/0.0004253, allocations: 12 kB / 330.9 MB, free: 33.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06172/0.06216, allocations: 48.11 MB / 379 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.001757/0.06394, allocations: 1.757 MB / 380.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.06463, allocations: 0.586 MB / 381.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.06469, allocations: 0 / 381.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.06474, allocations: 15.84 kB / 381.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.06489, allocations: 75.75 kB / 381.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.06503, allocations: 31.86 kB / 381.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.06516, allocations: 99.78 kB / 381.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.06527, allocations: 36.81 kB / 381.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.06533, allocations: 35.86 kB / 381.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.06542, allocations: 47.78 kB / 381.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.06544, allocations: 4 kB / 381.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.06549, allocations: 12 kB / 381.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.06552, allocations: 23.91 kB / 381.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.06555, allocations: 49.64 kB / 381.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.659e-05/0.06566, allocations: 75.81 kB / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.06566, allocations: 0 / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06567, allocations: 0 / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.06568, allocations: 0 / 381.8 MB, free: 14.35 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.0004318/0.06612, allocations: 406.8 kB / 382.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.06616, allocations: 12.03 kB / 382.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.06619, allocations: 11.91 kB / 382.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.06636, allocations: 197.2 kB / 382.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.06638, allocations: 7.953 kB / 382.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.0664, allocations: 8 kB / 382.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.06657, allocations: 92.53 kB / 382.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.06658, allocations: 0 / 382.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.0666, allocations: 4 kB / 382.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.06661, allocations: 4 kB / 382.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.06675, allocations: 71.83 kB / 382.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.06724, allocations: 380.5 kB / 383 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.06764, allocations: 70.48 kB / 383 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.06766, allocations: 96 / 383 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.06768, allocations: 34.55 kB / 383.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.06769, allocations: 0 / 383.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002278/0.06792, allocations: 101.5 kB / 383.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.06796, allocations: 59.34 kB / 383.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.06811, allocations: 182.6 kB / 383.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.06813, allocations: 25.7 kB / 383.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.06819, allocations: 112 kB / 383.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.06821, allocations: 11.75 kB / 383.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.06822, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.06831, allocations: 326.8 kB / 383.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.06837, allocations: 23.98 kB / 383.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.06842, allocations: 12 kB / 383.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/0.06848, allocations: 23.98 kB / 383.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.06849, allocations: 4 kB / 383.9 MB, free: 12 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001399/0.06864, allocations: 81.58 kB / 384 MB, free: 11.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.06869, allocations: 101 kB / 384.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.0687, allocations: 4 kB / 384.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.06871, allocations: 0 / 384.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.06879, allocations: 11.94 kB / 384.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.0688, allocations: 0 / 384.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.06887, allocations: 12.08 kB / 384.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.06889, allocations: 8 kB / 384.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.0689, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001028/0.06901, allocations: 47.98 kB / 384.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.06901, allocations: 0 / 384.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-06/0.06902, allocations: 0 / 384.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.06908, allocations: 11.98 kB / 384.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.06909, allocations: 4 kB / 384.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.06914, allocations: 15.89 kB / 384.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.06915, allocations: 3.938 kB / 384.2 MB, free: 11.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.671e-05/0.06924, allocations: 197.1 kB / 384.4 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.06928, allocations: 12 kB / 384.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.06944, allocations: 90.58 kB / 384.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.06945, allocations: 0 / 384.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.06946, allocations: 0 / 384.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.06947, allocations: 3.953 kB / 384.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.0698, allocations: 355.4 kB / 384.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.06981, allocations: 0 / 384.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.06986, allocations: 8 kB / 384.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.06987, allocations: 7.984 kB / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.06988, allocations: 0 / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.06989, allocations: 3.953 kB / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.0699, allocations: 0 / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.07006, allocations: 197.9 kB / 385.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.07013, allocations: 96.94 kB / 385.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.07015, allocations: 3.953 kB / 385.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.07025, allocations: 4 kB / 385.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.07028, allocations: 3.984 kB / 385.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.07029, allocations: 8 kB / 385.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.402e-05/0.07039, allocations: 140 kB / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07039, allocations: 0 / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.07068, allocations: 35.91 kB / 385.4 MB, free: 10.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.547e-05/0.07077, allocations: 91.25 kB / 385.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.07097, allocations: 83.95 kB / 385.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.07098, allocations: 0 / 385.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.07103, allocations: 19.94 kB / 385.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.07122, allocations: 16.11 kB / 385.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.0716, allocations: 312.5 kB / 385.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.07183, allocations: 0.712 MB / 386.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.07187, allocations: 8.422 kB / 386.6 MB, free: 9.133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.0719, allocations: 11.44 kB / 386.6 MB, free: 9.121 MB / 286.1 MB Notification: Performance of SimCode: time 1.012e-06/0.07191, allocations: 0 / 386.6 MB, free: 9.121 MB / 286.1 MB Notification: Performance of Templates: time 0.002644/0.07456, allocations: 0.9081 MB / 387.5 MB, free: 8.215 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: